arpack: 3.3.0 -> 3.5.0
This commit is contained in:
parent
46947c49a0
commit
eb30d65de6
@ -4,23 +4,27 @@
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "3.3.0";
|
version = "3.5.0";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "arpack-${version}";
|
name = "arpack-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/opencollab/arpack-ng/archive/${version}.tar.gz";
|
url = "https://github.com/opencollab/arpack-ng/archive/${version}.tar.gz";
|
||||||
sha256 = "1cz53wqzcf6czmcpfb3vb61xi0rn5bwhinczl65hpmbrglg82ndd";
|
sha256 = "0f8jx3fifmj9qdp289zr7r651y1q48k1jya859rqxq62mvis7xsh";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf automake gettext libtool ];
|
nativeBuildInputs = [ autoconf automake gettext libtool ];
|
||||||
buildInputs = [ gfortran openblas ];
|
buildInputs = [ gfortran openblas ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
BLAS_LIBS = "-L${openblas}/lib -lopenblas";
|
BLAS_LIBS = "-L${openblas}/lib -lopenblas";
|
||||||
|
|
||||||
FFLAGS = optional openblas.blas64 "-fdefault-integer-8";
|
FFLAGS = optional openblas.blas64 "-fdefault-integer-8";
|
||||||
|
|
||||||
|
INTERFACE64 = optional openblas.blas64 "1";
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
./bootstrap
|
./bootstrap
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user