]> code.ossystems Code Review - openembedded-core.git/commit
perf: Use python3targetconfig to ensure we use target libraries
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Jun 2021 13:31:32 +0000 (14:31 +0100)
committerSteve Sakoman <steve@sakoman.com>
Mon, 5 Jul 2021 15:35:36 +0000 (05:35 -1000)
commit8d625ded4a943fe9f0a8134d66cb2908b1947cae
treed5759942188bd50c503cbda89b72cebd8006776b
parent969c29c39b0ceb73ace615c478ca4544be803c9a
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8e2b6c042edd9ec76cb8281247604e4f81518780)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-kernel/perf/perf.bb