arpack: build with openblas
This commit is contained in:
parent
e36b3ec0a5
commit
fff0191f48
@ -1,4 +1,6 @@
|
|||||||
{ stdenv, fetchurl, gfortran, atlasWithLapack }:
|
{ stdenv, fetchurl, gfortran, openblas }:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "3.2.0";
|
version = "3.2.0";
|
||||||
@ -10,10 +12,15 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1fwch6vipms1ispzg2djvbzv5wag36f1dmmr3xs3mbp6imfyhvff";
|
sha256 = "1fwch6vipms1ispzg2djvbzv5wag36f1dmmr3xs3mbp6imfyhvff";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gfortran atlasWithLapack ];
|
buildInputs = [ gfortran openblas ];
|
||||||
|
|
||||||
# Auto-detection fails because gfortran brings in BLAS by default
|
# Auto-detection fails because gfortran brings in BLAS by default
|
||||||
configureFlags="--with-blas=-latlas --with-lapack=-latlas";
|
configureFlags = [
|
||||||
|
"--with-blas=-lopenblas"
|
||||||
|
"--with-lapack=-lopenblas"
|
||||||
|
];
|
||||||
|
|
||||||
|
FFLAGS = optional openblas.blas64 "-fdefault-integer-8";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://forge.scilab.org/index.php/p/arpack-ng/";
|
homepage = "http://forge.scilab.org/index.php/p/arpack-ng/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user