diff options
author | Ross Burton <ross.burton@intel.com> | 2018-09-03 11:49:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-05 18:00:25 +0100 |
commit | 869c3bb14667eed2995587339b8c83cf6e724a9d (patch) | |
tree | 9e0275d22a1cb53dfb0f4c7fec0e8a8ea9b4ca91 /meta/recipes-devtools/python | |
parent | 687e32ffafa074b3900b6582f4fc2ae33754ce8f (diff) | |
download | poky-869c3bb14667eed2995587339b8c83cf6e724a9d.tar.gz |
python: Run pybench once for optimisation task in pgo
There is no good reason to loop 10 times on the test since the profile
optimisation won't change between runs, we don't need/want a statistical
average. This is just burning cpu cycles, just make 1 run.
(From OE-Core rev: 78af3a3e6865cac8bc9fd881af6158ce5e21d4e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r-- | meta/recipes-devtools/python/python3_3.5.5.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3_3.5.5.bb b/meta/recipes-devtools/python/python3_3.5.5.bb index bfe91fb1c7..8afe15eee6 100644 --- a/meta/recipes-devtools/python/python3_3.5.5.bb +++ b/meta/recipes-devtools/python/python3_3.5.5.bb | |||
@@ -74,7 +74,7 @@ TARGET_CC_ARCH += "-DNDEBUG -fno-inline" | |||
74 | SDK_CC_ARCH += "-DNDEBUG -fno-inline" | 74 | SDK_CC_ARCH += "-DNDEBUG -fno-inline" |
75 | EXTRA_OEMAKE += "CROSS_COMPILE=yes" | 75 | EXTRA_OEMAKE += "CROSS_COMPILE=yes" |
76 | EXTRA_OECONF += "CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ --without-ensurepip --enable-optimizations" | 76 | EXTRA_OECONF += "CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ --without-ensurepip --enable-optimizations" |
77 | PYTHON3_PROFILE_TASK ?= "${S}/Tools/pybench/pybench.py -n 10" | 77 | PYTHON3_PROFILE_TASK ?= "${S}/Tools/pybench/pybench.py -n 1" |
78 | 78 | ||
79 | export CROSS_COMPILE = "${TARGET_PREFIX}" | 79 | export CROSS_COMPILE = "${TARGET_PREFIX}" |
80 | export _PYTHON_PROJECT_BASE = "${B}" | 80 | export _PYTHON_PROJECT_BASE = "${B}" |