mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
python.pkgs.numpy: enable parallel building
This commit is contained in:
parent
56fe381490
commit
2c8960d85f
@ -21,6 +21,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i 's/-faltivec//' numpy/distutils/system_info.py
|
sed -i 's/-faltivec//' numpy/distutils/system_info.py
|
||||||
|
export NPY_NUM_BUILD_JOBS=$NIX_BUILD_CORES
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
@ -32,6 +33,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