python.pkgs.numpy: enable parallel building

This commit is contained in:
Frederik Rietdijk 2017-07-30 10:19:02 +02:00
parent 56fe381490
commit 2c8960d85f

View File

@ -21,6 +21,7 @@ buildPythonPackage rec {
preConfigure = ''
sed -i 's/-faltivec//' numpy/distutils/system_info.py
export NPY_NUM_BUILD_JOBS=$NIX_BUILD_CORES
'';
preBuild = ''
@ -32,6 +33,8 @@ buildPythonPackage rec {
EOF
'';
enableParallelBuilding = true;
checkPhase = ''
runHook preCheck
pushd dist