3
0
Fork 0
forked from mirrors/nixpkgs

liblapack: use python2

This commit is contained in:
Frederik Rietdijk 2016-10-18 10:10:42 +02:00
parent ad227648c0
commit 9b66b5c2cc
2 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@
fetchurl,
gfortran,
cmake,
python,
python2,
atlas ? null,
shared ? false
}:
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ atlasMaybeShared ];
buildInputs = [ gfortran cmake ];
nativeBuildInputs = [ python ];
nativeBuildInputs = [ python2 ];
cmakeFlags = [
"-DUSE_OPTIMIZED_BLAS=ON"
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
doCheck = ! shared;
checkPhase = "
sed -i 's,^#!.*,#!${python}/bin/python,' lapack_testing.py
sed -i 's,^#!.*,#!${python2.interpreter},' lapack_testing.py
ctest
";

View file

@ -3,7 +3,7 @@
fetchurl,
gfortran,
cmake,
python,
python2,
atlas ? null,
shared ? false
}:
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ atlasMaybeShared ];
buildInputs = [ gfortran cmake ];
nativeBuildInputs = [ python ];
nativeBuildInputs = [ python2 ];
cmakeFlags = [
"-DUSE_OPTIMIZED_BLAS=ON"
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
doCheck = ! shared;
checkPhase = "
sed -i 's,^#!.*,#!${python}/bin/python,' lapack_testing.py
sed -i 's,^#!.*,#!${python2.interpreter},' lapack_testing.py
ctest
";