julia: use system blas only when not darwin

This commit is contained in:
Ben Siraphob 2021-03-28 17:39:05 +07:00
parent c7aef6dedb
commit 6a2a2d6503
3 changed files with 3 additions and 3 deletions

View File

@ -139,7 +139,7 @@ stdenv.mkDerivation rec {
"prefix=$(out)"
"SHELL=${stdenv.shell}"
"USE_SYSTEM_BLAS=1"
(lib.optionalString (!stdenv.isDarwin) "USE_SYSTEM_BLAS=1")
"USE_BLAS64=${if blas.isILP64 then "1" else "0"}"
"USE_SYSTEM_LAPACK=1"

View File

@ -89,7 +89,7 @@ stdenv.mkDerivation rec {
"prefix=$(out)"
"SHELL=${stdenv.shell}"
"USE_SYSTEM_BLAS=1"
(lib.optionalString (!stdenv.isDarwin) "USE_SYSTEM_BLAS=1")
"USE_BLAS64=${if blas.isILP64 then "1" else "0"}"
"USE_SYSTEM_LAPACK=1"

View File

@ -88,7 +88,7 @@ stdenv.mkDerivation rec {
"prefix=$(out)"
"SHELL=${stdenv.shell}"
"USE_SYSTEM_BLAS=1"
(lib.optionalString (!stdenv.isDarwin) "USE_SYSTEM_BLAS=1")
"USE_BLAS64=${if blas.isILP64 then "1" else "0"}"
"USE_SYSTEM_LAPACK=1"