python.pkgs.scipy: enable parallel building
This commit is contained in:
parent
2c8960d85f
commit
70cd310712
@ -20,6 +20,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i '0,/from numpy.distutils.core/s//import setuptools;from numpy.distutils.core/' setup.py
|
sed -i '0,/from numpy.distutils.core/s//import setuptools;from numpy.distutils.core/' setup.py
|
||||||
|
export NPY_NUM_BUILD_JOBS=$NIX_BUILD_CORES
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
@ -31,6 +32,8 @@ buildPythonPackage rec {
|
|||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
pushd dist
|
pushd dist
|
||||||
|
Loading…
Reference in New Issue
Block a user