Merge pull request #34181 from markuskowa/arpack-pr

arpack: 3.3.0 -> 3.5.0
This commit is contained in:
Thomas Tuegel 2018-01-23 06:11:31 -06:00 committed by GitHub
commit cac51ef856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,22 +4,24 @@
with stdenv.lib;
let
version = "3.3.0";
version = "3.5.0";
in
stdenv.mkDerivation {
name = "arpack-${version}";
src = fetchurl {
url = "https://github.com/opencollab/arpack-ng/archive/${version}.tar.gz";
sha256 = "1cz53wqzcf6czmcpfb3vb61xi0rn5bwhinczl65hpmbrglg82ndd";
sha256 = "0f8jx3fifmj9qdp289zr7r651y1q48k1jya859rqxq62mvis7xsh";
};
nativeBuildInputs = [ autoconf automake gettext libtool ];
buildInputs = [ gfortran openblas ];
doCheck = true;
BLAS_LIBS = "-L${openblas}/lib -lopenblas";
FFLAGS = optional openblas.blas64 "-fdefault-integer-8";
INTERFACE64 = optional openblas.blas64 "1";
preConfigure = ''
./bootstrap