mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-09 12:06:40 -04:00
Merge pull request #1020 from bouk/numpy-cores
numpy: Set NPY_NUM_BUILD_JOBS for parallel build
This commit is contained in:
commit
612cdf65bf
1 changed files with 3 additions and 0 deletions
|
@ -1358,6 +1358,9 @@ lib.composeManyExtensions [
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
ln -s ${cfg} site.cfg
|
ln -s ${cfg} site.cfg
|
||||||
'';
|
'';
|
||||||
|
preConfigure = ''
|
||||||
|
export NPY_NUM_BUILD_JOBS=$NIX_BUILD_CORES
|
||||||
|
'';
|
||||||
passthru = old.passthru // {
|
passthru = old.passthru // {
|
||||||
blas = blas;
|
blas = blas;
|
||||||
inherit blasImplementation cfg;
|
inherit blasImplementation cfg;
|
||||||
|
|
Loading…
Add table
Reference in a new issue