Merge pull request #40141 from timokau/iml-openblas

iml: use openblas instead of atlas
This commit is contained in:
Michael Raskin 2018-05-07 20:29:06 +00:00 committed by GitHub
commit b1f064c9cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'';