diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2018-05-07 20:29:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-07 20:29:06 +0000 |
commit | b1f064c9cbd1338aeb9be0bc0ba65635521b95a7 (patch) | |
tree | 0f8b3c7dd329e51bfc2fd662e9a8d11ffe0dc9d0 | |
parent | 17fe52a6c741ec7265d402c41e9419e903126fe8 (diff) | |
parent | b0d70d336dd769bf06ff336882faabe5cebf2343 (diff) | |
download | nixlib-b1f064c9cbd1338aeb9be0bc0ba65635521b95a7.tar nixlib-b1f064c9cbd1338aeb9be0bc0ba65635521b95a7.tar.gz nixlib-b1f064c9cbd1338aeb9be0bc0ba65635521b95a7.tar.bz2 nixlib-b1f064c9cbd1338aeb9be0bc0ba65635521b95a7.tar.lz nixlib-b1f064c9cbd1338aeb9be0bc0ba65635521b95a7.tar.xz nixlib-b1f064c9cbd1338aeb9be0bc0ba65635521b95a7.tar.zst nixlib-b1f064c9cbd1338aeb9be0bc0ba65635521b95a7.zip |
Merge pull request #40141 from timokau/iml-openblas
iml: use openblas instead of atlas
-rw-r--r-- | pkgs/development/libraries/iml/default.nix | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/development/libraries/iml/default.nix b/pkgs/development/libraries/iml/default.nix index 4af2bba9160d..b55d13ecc3f4 100644 --- a/pkgs/development/libraries/iml/default.nix +++ b/pkgs/development/libraries/iml/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, gmp, atlas}: +{stdenv, autoreconfHook, fetchurl, gmp, openblas}: stdenv.mkDerivation rec { name = "iml-${version}"; version = "1.0.5"; @@ -6,8 +6,18 @@ stdenv.mkDerivation rec { url = "http://www.cs.uwaterloo.ca/~astorjoh/iml-${version}.tar.bz2"; sha256 = "0akwhhz9b40bz6lrfxpamp7r7wkk48p455qbn04mfnl9a1l6db8x"; }; - buildInputs = [gmp atlas]; - configureFlags = "--with-gmp-include=${gmp.dev}/include --with-gmp-lib=${gmp}/lib"; + buildInputs = [ + gmp + openblas + ]; + nativeBuildInputs = [ + autoreconfHook + ]; + configureFlags = [ + "--with-gmp-include=${gmp.dev}/include" + "--with-gmp-lib=${gmp}/lib" + "--with-cblas=-lopenblas" + ]; meta = { inherit version; description = ''Algorithms for computing exact solutions to dense systems of linear equations over the integers''; |