tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
arpack: build with openblas
Thomas Tuegel
10 years ago
fff0191f
e36b3ec0
+10
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
science
math
arpack
default.nix
+10
-3
pkgs/development/libraries/science/math/arpack/default.nix
···
1
1
-
{ stdenv, fetchurl, gfortran, atlasWithLapack }:
1
1
+
{ stdenv, fetchurl, gfortran, openblas }:
2
2
+
3
3
+
with stdenv.lib;
2
4
3
5
let
4
6
version = "3.2.0";
···
10
12
sha256 = "1fwch6vipms1ispzg2djvbzv5wag36f1dmmr3xs3mbp6imfyhvff";
11
13
};
12
14
13
13
-
buildInputs = [ gfortran atlasWithLapack ];
15
15
+
buildInputs = [ gfortran openblas ];
14
16
15
17
# Auto-detection fails because gfortran brings in BLAS by default
16
16
-
configureFlags="--with-blas=-latlas --with-lapack=-latlas";
18
18
+
configureFlags = [
19
19
+
"--with-blas=-lopenblas"
20
20
+
"--with-lapack=-lopenblas"
21
21
+
];
22
22
+
23
23
+
FFLAGS = optional openblas.blas64 "-fdefault-integer-8";
17
24
18
25
meta = {
19
26
homepage = "http://forge.scilab.org/index.php/p/arpack-ng/";