Skip to contentSkip to conversation

config.json: disable pgo in python's buildtools

PATCH New Alexander Kanavin 1 participant 1 message Oct 9, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config.json: disable pgo in python's buildtools

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.

---
 config.json | 3 ---
 1 file changed, 3 deletions(-)
config.json +0 -3
index 13977d9..5d866b9 100644
@@ -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",
Signature · 1 line
2.46.2