diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2018-08-16 14:26:33 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-16 22:40:28 +0100 |
commit | 371283df2e315de452891c7ea5f7563ed19cdc88 (patch) | |
tree | cfb4c09a1a91c7c80ebef1a32e8e46337fbf331e /meta/recipes-devtools/dosfstools | |
parent | e00b4617797ce89865a6f8318b6abedcddae3046 (diff) | |
download | poky-371283df2e315de452891c7ea5f7563ed19cdc88.tar.gz |
python3: enable profile optimized builds
Enable profile guided optimization (pgo) for python3. Enabling pgo in
python is generally as simple as invoking the target profile-opt which:
- builds python binaries with profile instrumentation enabled,
- runs a specific profile task using that python to get the profile
data and,
- feeds the compiler with this profile data and rebuilds python.
This change invokes qemu-user for the second step of running a profile
task using target python. Depending on how long profile task takes to
run, this might add a significant time to compilation (which would be
true for native builds too). The default profile task can be changed by
the users depending on what makes sense for their use case (or can be
left empty). In case qemu-user isn't supported, profile task won't be run.
(From OE-Core rev: 05a2a53f9cc7e75b4a3838ab9368cadf0f15ba1b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dosfstools')
0 files changed, 0 insertions, 0 deletions