python.pkgs.scipy: enable parallel building
This commit is contained in:
parent
2c8960d85f
commit
70cd310712
@ -20,6 +20,7 @@ buildPythonPackage rec {
|
||||
|
||||
preConfigure = ''
|
||||
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 = ''
|
||||
@ -31,6 +32,8 @@ buildPythonPackage rec {
|
||||
EOF
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
pushd dist
|
||||
|
Loading…
Reference in New Issue
Block a user