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:
Thomas Tuegel 2015-06-09 06:34:52 -05:00
parent 614c867b29
commit 71b848b45d

View File

@ -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"}"
];