From 184b4415800c9b2480efb3cf1830a50983edaddb Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 9 Nov 2018 14:38:23 -0800 Subject: ref-manual: Added new python3 profile-optimization migration topic (From yocto-docs rev: 2d0960d9282ffcb843ed9956a0e49183b22f11f2) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/migration.xml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'documentation/ref-manual/migration.xml') diff --git a/documentation/ref-manual/migration.xml b/documentation/ref-manual/migration.xml index 7a98b821c7..877b70017f 100644 --- a/documentation/ref-manual/migration.xml +++ b/documentation/ref-manual/migration.xml @@ -6203,6 +6203,39 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message. +
+ Python 3 Profile-Guided Optimization + + + The python3 recipe now enables profile-guided + optimization. + Using this optimization requires a little extra build time in + exchange for improved performance on the target at runtime. + And, the optimization is only enabled if the current + MACHINE + has support for user-mode emulation in QEMU (i.e. "qemu-usermode" + is in + MACHINE_FEATURES, + which it is by default). + + + + If you wish to disable Python profile-guided optimization + regardless of the value of + MACHINE_FEATURES, then ensure that + PACKAGECONFIG + for the python3 recipe does not contain "pgo". + You could accomplish the latter using the following at the + configuration level: + + PACKAGECONFIG_remove_pn-python3 = "pgo" + + Alternatively, you can set + PACKAGECONFIG using an append file for the + python3 recipe. + +
+
Miscellaneous Changes -- cgit v1.2.3-54-g00ecf