One of the main points in the Python 3.14.x release notes was that free threading is officially supported.
Add PACKAGECONFIG[freethreading] to turn it on with --disable-gil. GIL is the Global Interpreter Lock, which is kept enabled without this option. By default, keep free threading disabled, i.e. GIL enabled. Signed-off-by: Zoltán Böszörményi <[email protected]> --- meta/recipes-devtools/python/python3_3.14.3.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3_3.14.3.bb b/meta/recipes-devtools/python/python3_3.14.3.bb index 7047cd8e8d..7a1ad1e386 100644 --- a/meta/recipes-devtools/python/python3_3.14.3.bb +++ b/meta/recipes-devtools/python/python3_3.14.3.bb @@ -112,6 +112,7 @@ CACHED_CONFIGUREVARS:append:libc-musl = "\ # PGO currently causes builds to not be reproducible so disable by default, see YOCTO #13407 PACKAGECONFIG ??= "editline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}" +PACKAGECONFIG[freethreading] = "--disable-gil,--enable-gil" PACKAGECONFIG[readline] = "--with-readline=readline,,readline,,,editline" PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline" # Use profile guided optimisation by running PyBench inside qemu-user -- 2.53.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#232946): https://lists.openembedded.org/g/openembedded-core/message/232946 Mute This Topic: https://lists.openembedded.org/mt/118277380/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
