treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different BLAS/LAPACK implementations. treewide: cleanup from blas/lapack changes A few issues in the original treewide: - can’t assume blas64 is a bool - unused commented code
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchpatch, fetchFromGitHub, autoreconfHook
|
||||
, openblas, gfortran, openssh, openmpi
|
||||
, blas, gfortran, openssh, openmpi
|
||||
} :
|
||||
|
||||
let
|
||||
@@ -17,7 +17,7 @@ in stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ openmpi openblas gfortran openssh ];
|
||||
buildInputs = [ openmpi blas gfortran openssh ];
|
||||
|
||||
preConfigure = ''
|
||||
configureFlagsArray+=( "--enable-i8" \
|
||||
@@ -25,7 +25,7 @@ in stdenv.mkDerivation {
|
||||
"--with-mpi3" \
|
||||
"--enable-eispack" \
|
||||
"--enable-underscoring" \
|
||||
"--with-blas8=${openblas}/lib -lopenblas" )
|
||||
"--with-blas8=${blas}/lib -lblas" )
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@@ -38,5 +38,3 @@ in stdenv.mkDerivation {
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user