diff mbox series

[yocto-autobuilder-helper] config.json: disable pgo in python's buildtools

Message ID 20241009110108.995240-1-alex.kanavin@gmail.com
State New
Headers show
Series [yocto-autobuilder-helper] config.json: disable pgo in python's buildtools | expand

Commit Message

Alexander Kanavin Oct. 9, 2024, 11:01 a.m. UTC
pgo requires running a subset of python's test suite under qemu usermode
emulation. With python 3.13 upstream added a strict requirement of making
that test suite pass, and this has uncovered that:

- we've been incorrectly running only a small subset of that subset
(7 tests out of 44)

- when restoring to the full subset failures occur all over the place,
due to attempting to run cross-compiled python sub-interpreters
(qemu usermode won't insert itself when sub-processes are started
from an emulated executable) and other differences between
native and emulated environment that I didn't look closely into.

This is not unfixable, but requiers significant effort which I simply
can't allocate now in the scope of 3.13 upgrade.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 config.json | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/config.json b/config.json
index 13977d9..5d866b9 100644
--- a/config.json
+++ b/config.json
@@ -1109,9 +1109,6 @@ 
         "buildtools" : {
             "BUILDINFO" : true,
             "MACHINE" : "qemux86-64",
-            "extravars" : [
-                "PACKAGECONFIG:pn-nativesdk-python3:append = ' pgo'"
-            ],
             "step1" : {
                 "SDKMACHINE" : "x86_64",
                 "shortname" : "x86_64 tools",