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,6 @@
|
||||
{ stdenv, fetchurl, openblasCompat, mpi } :
|
||||
{ stdenv, fetchurl, blas, lapack, mpi } :
|
||||
|
||||
assert (!blas.is64bit) && (!lapack.is64bit);
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hpl";
|
||||
@@ -18,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
install -D testing/ptest/HPL.dat $out/share/hpl/HPL.dat
|
||||
'';
|
||||
|
||||
buildInputs = [ openblasCompat mpi ];
|
||||
buildInputs = [ blas lapack mpi ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Portable Implementation of the Linpack Benchmark for Distributed-Memory Computers";
|
||||
@@ -28,4 +30,3 @@ stdenv.mkDerivation rec {
|
||||
maintainers = [ maintainers.markuskowa ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user