I remove clapack, and an unused reference I found.
Now liblapack provides a c interface too. svn path=/nixpkgs/trunk/; revision=32466
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
{stdenv, fetchurl, cmake, withPIC ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "clapack-3.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.netlib.org/clapack/clapack-3.2.1-CMAKE.tgz;
|
||||
sha256 = "0nnap9q1mv14g57dl3vkvxrdr10k5w7zzyxs6rgxhia8q8mphgqb";
|
||||
};
|
||||
|
||||
buildNativeInputs = [ cmake ];
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/include $out/lib
|
||||
cp SRC/*.a F2CLIBS/libf2c/*.a BLAS/SRC/*.a $out/lib
|
||||
cp ../INCLUDE/* $out/include
|
||||
'';
|
||||
|
||||
cmakeFlags = if withPIC then "-DCMAKE_C_FLAGS=-fPIC" else "";
|
||||
|
||||
# We disable the test phase, because some tests fail.
|
||||
# Forums say it's normal for some to fail:
|
||||
# http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=2&t=167
|
||||
# doCheck = true;
|
||||
# checkPhase = "ctest";
|
||||
|
||||
meta = {
|
||||
homepage = http://www.netlib.org/clapack/;
|
||||
description = "f2c'ed version of LAPACK";
|
||||
license = "BSD";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user