mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
openblas: set NUM_THREADS and USE_OPENMP
This commit is contained in:
parent
fdc1887a6e
commit
14ee766024
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ let local = config.openblas.preferLocalBuild or false;
|
|||
"DYNAMIC_ARCH=1"
|
||||
"NUM_THREADS=64"
|
||||
"BINARY=${binary}"
|
||||
"USE_OPENMP=1"
|
||||
"NUM_THREADS=64"
|
||||
];
|
||||
localFlags = config.openblas.flags or
|
||||
optionals (hasAttr "target" config.openblas) [ "TARGET=${config.openblas.target}" ];
|
||||
|
|
Loading…
Reference in a new issue