[oe-commits] [openembedded-core] 18/50: Enable parallel compilation for python3-numpy

git at git.openembedded.org git at git.openembedded.org
Sun Jun 11 22:07:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 75694bbeb9200672915e71db67b43bea6807b92e
Author: Jussi Kukkonen <jussi.kukkonen at intel.com>
AuthorDate: Fri Jun 9 10:36:17 2017 +0300

    Enable parallel compilation for python3-numpy
    
    Support for "-j N" does not seem like a generic distutils thing
    but numpy supports it.
    
    This improves compile time by 2 minutes (real time).
    
    Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/python-numpy/python3-numpy_1.11.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python-numpy/python3-numpy_1.11.2.bb b/meta/recipes-devtools/python-numpy/python3-numpy_1.11.2.bb
index d5fe50c..9a9c4cf 100644
--- a/meta/recipes-devtools/python-numpy/python3-numpy_1.11.2.bb
+++ b/meta/recipes-devtools/python-numpy/python3-numpy_1.11.2.bb
@@ -69,6 +69,8 @@ CONFIGFILESURI_mipsarchn32el = " \
 
 S = "${WORKDIR}/numpy-${PV}"
 
+DISTUTILS_BUILD_ARGS += "${PARALLEL_MAKE}"
+
 inherit setuptools3
 
 # Make the build fail and replace *config.h with proper one

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list