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 }: 2 3 let 4 version = "3.2.0"; ··· 10 sha256 = "1fwch6vipms1ispzg2djvbzv5wag36f1dmmr3xs3mbp6imfyhvff"; 11 }; 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 - ''; 20 21 # Auto-detection fails because gfortran brings in BLAS by default 22 - configureFlags="--with-blas=-lopenblas --with-lapack=-lopenblas"; 23 24 meta = { 25 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"]; 30 license = stdenv.lib.licenses.bsd3; 31 maintainers = [ stdenv.lib.maintainers.ttuegel ]; 32 };
··· 1 + { stdenv, fetchurl, gfortran, atlasWithLapack }: 2 3 let 4 version = "3.2.0"; ··· 10 sha256 = "1fwch6vipms1ispzg2djvbzv5wag36f1dmmr3xs3mbp6imfyhvff"; 11 }; 12 13 + buildInputs = [ gfortran atlasWithLapack ]; 14 15 # Auto-detection fails because gfortran brings in BLAS by default 16 + configureFlags="--with-blas=-latlas --with-lapack=-latlas"; 17 18 meta = { 19 homepage = "http://forge.scilab.org/index.php/p/arpack-ng/"; 20 + description = '' 21 + A collection of Fortran77 subroutines to solve large scale eigenvalue 22 + problems. 23 + ''; 24 license = stdenv.lib.licenses.bsd3; 25 maintainers = [ stdenv.lib.maintainers.ttuegel ]; 26 };