iml: use openblas instead of atlas

This commit is contained in:
Timo Kaufmann 2018-05-07 21:48:08 +02:00
parent 1a7a886234
commit b0d70d336d

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, gmp, atlas}: {stdenv, autoreconfHook, fetchurl, gmp, openblas}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "iml-${version}"; name = "iml-${version}";
version = "1.0.5"; version = "1.0.5";
@ -6,8 +6,18 @@ stdenv.mkDerivation rec {
url = "http://www.cs.uwaterloo.ca/~astorjoh/iml-${version}.tar.bz2"; url = "http://www.cs.uwaterloo.ca/~astorjoh/iml-${version}.tar.bz2";
sha256 = "0akwhhz9b40bz6lrfxpamp7r7wkk48p455qbn04mfnl9a1l6db8x"; sha256 = "0akwhhz9b40bz6lrfxpamp7r7wkk48p455qbn04mfnl9a1l6db8x";
}; };
buildInputs = [gmp atlas]; buildInputs = [
configureFlags = "--with-gmp-include=${gmp.dev}/include --with-gmp-lib=${gmp}/lib"; gmp
openblas
];
nativeBuildInputs = [
autoreconfHook
];
configureFlags = [
"--with-gmp-include=${gmp.dev}/include"
"--with-gmp-lib=${gmp}/lib"
"--with-cblas=-lopenblas"
];
meta = { meta = {
inherit version; inherit version;
description = ''Algorithms for computing exact solutions to dense systems of linear equations over the integers''; description = ''Algorithms for computing exact solutions to dense systems of linear equations over the integers'';