summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3_3.5.2.bb
diff options
context:
space:
mode:
authorDominic Sacré <dominic.sacre@gmx.de>2016-10-25 19:20:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-30 15:48:05 +0000
commit3f2ab3f7cc1bf1646f2acfcace9b9cf546cc3a5d (patch)
tree647d48774d646fb29cb45f644b55f5f81c226f74 /meta/recipes-devtools/python/python3_3.5.2.bb
parentbef4e00bdadcd912574f73fde93e58d3943b18b5 (diff)
downloadpoky-3f2ab3f7cc1bf1646f2acfcace9b9cf546cc3a5d.tar.gz
python3: Build and package precompiled modules
Remove the patch that was applied in the python3 and python3-native recipes to skip compilation of python modules. Modify generate-manifest-3.5.py to match '__pycache__' directories in FILES_*. This is necessary because Python3 puts .pyc files in '__pycache__' subdirectories one level below the corresponding .py files, whereas in Python2 they used to be right next to the sources. This change significantly reduces the startup overhead of Python3 scripts. For example, on a Cortex-A9, "python3 -c pass" took 0.40s before, and 0.19s after. (From OE-Core rev: bb4d689769703177dbb0df0935e15016b879f42b) Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.5.2.bb')
-rw-r--r--meta/recipes-devtools/python/python3_3.5.2.bb1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3_3.5.2.bb b/meta/recipes-devtools/python/python3_3.5.2.bb
index e6cbb9c56d..bde9c959b4 100644
--- a/meta/recipes-devtools/python/python3_3.5.2.bb
+++ b/meta/recipes-devtools/python/python3_3.5.2.bb
@@ -9,7 +9,6 @@ DISTRO_SRC_URI_linuxstdbase = ""
9SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ 9SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
10file://python-config.patch \ 10file://python-config.patch \
11file://000-cross-compile.patch \ 11file://000-cross-compile.patch \
12file://020-dont-compile-python-files.patch \
13file://030-fixup-include-dirs.patch \ 12file://030-fixup-include-dirs.patch \
14file://070-dont-clean-ipkg-install.patch \ 13file://070-dont-clean-ipkg-install.patch \
15file://080-distutils-dont_adjust_files.patch \ 14file://080-distutils-dont_adjust_files.patch \