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"}"
|
"CC=${if stdenv.isDarwin then "clang" else "gcc"}"
|
||||||
''PREFIX="''$(out)"''
|
''PREFIX="''$(out)"''
|
||||||
"BINARY=${binary}"
|
"BINARY=${binary}"
|
||||||
"USE_OPENMP=1"
|
"USE_OPENMP=${if stdenv.isDarwin then "0" else "1"}"
|
||||||
"INTERFACE64=${if blas64 then "1" else "0"}"
|
"INTERFACE64=${if blas64 then "1" else "0"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user