mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
python.pkgs.numpy: enable parallel building
This commit is contained in:
parent
56fe381490
commit
2c8960d85f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user