Re: [OE-core] [PATCH 1/2] Enable parallel compilation for python3-numpy
On 12 June 2017 at 13:06, Richard Purdiewrote: > On Fri, 2017-06-09 at 10:36 +0300, Jussi Kukkonen wrote: > > 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). > > Sorry: > > https://autobuilder.yocto.io/builders/nightly-musl/builds/ > 298/steps/BuildImages/logs/stdio > > Appears to have races? > Indeed, thanks. I'll have a look but could be that there will be no v2 (I couldn't reproduce earlier and distutils isn't really my cup of tea). Jussi -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/2] Enable parallel compilation for python3-numpy
On Fri, 2017-06-09 at 10:36 +0300, Jussi Kukkonen wrote: > 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). Sorry: https://autobuilder.yocto.io/builders/nightly-musl/builds/298/steps/BuildImages/logs/stdio Appears to have races? Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/2] 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--- 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 -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core