mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 10:43:02 +01:00
python3: use libedit instead of readline
libedit has feature parity with readline but is more permissively licensed (BSD verses GPLv3), so switch to libedit by default. (From OE-Core rev: ce9a795fe720eb96a9a16e65862f9721163a5986) (From OE-Core rev: 685df78325435db2d67ceb1a96839e0adbb568d0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1ced55d221
commit
ce6add6f8a
@@ -95,10 +95,10 @@ CACHED_CONFIGUREVARS = " \
|
||||
"
|
||||
|
||||
# PGO currently causes builds to not be reproducible so disable by default, see YOCTO #13407
|
||||
PACKAGECONFIG:class-target ??= "readline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}"
|
||||
PACKAGECONFIG:class-native ??= "readline gdbm"
|
||||
PACKAGECONFIG:class-target ??= "editline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}"
|
||||
PACKAGECONFIG:class-native ??= "editline gdbm"
|
||||
PACKAGECONFIG:class-nativesdk ??= "readline gdbm"
|
||||
PACKAGECONFIG[readline] = ",,readline"
|
||||
PACKAGECONFIG[readline] = "--with-readline=readline,,readline,,,editline"
|
||||
PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline"
|
||||
# Use profile guided optimisation by running PyBench inside qemu-user
|
||||
PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native"
|
||||
|
||||
Reference in New Issue
Block a user