Merge pull request #113021 from helsinki-systems/fix/lapack_tests

lapack: enable tests & remove python dependency
This commit is contained in:
ajs124 2021-02-21 19:17:22 +01:00 committed by GitHub
commit 164c9eec75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,6 @@
fetchFromGitHub,
gfortran,
cmake,
python2,
shared ? true
}:
let
@ -22,12 +21,13 @@ stdenv.mkDerivation {
sha256 = "0sxnc97z67i7phdmcnq8f8lmxgw10wdwvr8ami0w3pb179cgrbpb";
};
nativeBuildInputs = [ gfortran python2 cmake ];
nativeBuildInputs = [ gfortran cmake ];
cmakeFlags = [
"-DCMAKE_Fortran_FLAGS=-fPIC"
"-DLAPACKE=ON"
"-DCBLAS=ON"
"-DBUILD_TESTING=ON"
]
++ optional shared "-DBUILD_SHARED_LIBS=ON";