treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different BLAS/LAPACK implementations. treewide: cleanup from blas/lapack changes A few issues in the original treewide: - can’t assume blas64 is a bool - unused commented code
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{stdenv, autoreconfHook, fetchurl, gmp, openblas}:
|
||||
{stdenv, autoreconfHook, fetchurl, gmp, blas}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "iml";
|
||||
version = "1.0.5";
|
||||
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
buildInputs = [
|
||||
gmp
|
||||
openblas
|
||||
blas
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
configureFlags = [
|
||||
"--with-gmp-include=${gmp.dev}/include"
|
||||
"--with-gmp-lib=${gmp}/lib"
|
||||
"--with-cblas=-lopenblas"
|
||||
"--with-cblas=-lblas"
|
||||
];
|
||||
meta = {
|
||||
inherit version;
|
||||
|
||||
Reference in New Issue
Block a user