diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-16 14:31:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-26 15:24:08 +0100 |
commit | b64af697621fad24cdabafaf0d734f8397af461f (patch) | |
tree | 6208b629b25460c8cac4d2293cde005335742bcb /meta/recipes-devtools/python/python3-docutils_0.16.bb | |
parent | bc3fd6bee06966ee0fda8f5f8226f0fe468e1ad9 (diff) | |
download | poky-b64af697621fad24cdabafaf0d734f8397af461f.tar.gz |
perf: Use python3targetconfig to ensure we use target libraries
We've seen some reproducibility issues on the autobuilder in perf where the
size of the python module varies slightly between systems. After some head
scratching and removing the --quiet option to the python module build,
you can see it using -Lrecipe-sysroot-native in the linking commandline
for the module. This means it is linking against the native library
on systems where that works, skipping it and using the target one
otherwise, probably with warnings in logs we've not seen.
The fix is to inherit the python3targetconfig class which ensures
that the target sysroot is used, then the byte differences between
the builds go away and things are sane(r) again.
(From OE-Core rev: 6f8b91c68e260af3a6228fd9528ca4343c8b3b4e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8e2b6c042edd9ec76cb8281247604e4f81518780)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-docutils_0.16.bb')
0 files changed, 0 insertions, 0 deletions