lol

arpack: build against atlasWithLapack

authored by

Thomas Tuegel and committed by
Peter Simons
84553e0a 202acdbd

+7 -13
+7 -13
pkgs/development/libraries/science/math/arpack/default.nix
··· 1 - { stdenv, fetchurl, gfortran, openblas }: 1 + { stdenv, fetchurl, gfortran, atlasWithLapack }: 2 2 3 3 let 4 4 version = "3.2.0"; ··· 10 10 sha256 = "1fwch6vipms1ispzg2djvbzv5wag36f1dmmr3xs3mbp6imfyhvff"; 11 11 }; 12 12 13 - buildInputs = [ gfortran ]; 14 - propagatedBuildInputs = [ openblas ]; 15 - 16 - preConfigure = '' 17 - substituteInPlace arpack.pc.in \ 18 - --replace "@BLAS_LIBS@" "-L${openblas}/lib @BLAS_LIBS@" 19 - ''; 13 + buildInputs = [ gfortran atlasWithLapack ]; 20 14 21 15 # Auto-detection fails because gfortran brings in BLAS by default 22 - configureFlags="--with-blas=-lopenblas --with-lapack=-lopenblas"; 16 + configureFlags="--with-blas=-latlas --with-lapack=-latlas"; 23 17 24 18 meta = { 25 19 homepage = "http://forge.scilab.org/index.php/p/arpack-ng/"; 26 - description = "A collection of Fortran77 subroutines to solve large scale eigenvalue problems"; 27 - # Looks like OpenBLAS is not that easy to build 28 - # there is a sgemm_itcopy undefined reference on 32-bit, for example 29 - platforms = ["x86_64-linux"]; 20 + description = '' 21 + A collection of Fortran77 subroutines to solve large scale eigenvalue 22 + problems. 23 + ''; 30 24 license = stdenv.lib.licenses.bsd3; 31 25 maintainers = [ stdenv.lib.maintainers.ttuegel ]; 32 26 };