mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 22:27:30 +03:00
openblas: build with USE_OPENMP=0 on Darwin
Darwin's clang does not support OpenMP yet. OpenMP is required on other platforms for e.g. Julia.
This commit is contained in:
parent
614c867b29
commit
71b848b45d
@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
||||
"CC=${if stdenv.isDarwin then "clang" else "gcc"}"
|
||||
''PREFIX="''$(out)"''
|
||||
"BINARY=${binary}"
|
||||
"USE_OPENMP=1"
|
||||
"USE_OPENMP=${if stdenv.isDarwin then "0" else "1"}"
|
||||
"INTERFACE64=${if blas64 then "1" else "0"}"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user