openblas: use packaged LAPACK
Upstream began shipping OpenBLAS with LAPACK 3.4.1. This is the version we were using in Nixpkgs anyway, so there is no reason to continue copying the LAPACK sources into the build tree.
This commit is contained in:
parent
9af0c23883
commit
841df2cd7a
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, gfortran, perl, liblapack, config, coreutils
|
{ stdenv, fetchurl, gfortran, perl, config, coreutils
|
||||||
# Most packages depending on openblas expect integer width to match pointer width,
|
# Most packages depending on openblas expect integer width to match pointer width,
|
||||||
# but some expect to use 32-bit integers always (for compatibility with reference BLAS).
|
# but some expect to use 32-bit integers always (for compatibility with reference BLAS).
|
||||||
, blas64 ? null
|
, blas64 ? null
|
||||||
@ -34,8 +34,6 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
inherit blas64;
|
inherit blas64;
|
||||||
|
|
||||||
preBuild = "cp ${liblapack.src} lapack-${liblapack.meta.version}.tgz";
|
|
||||||
|
|
||||||
nativeBuildInputs = optionals stdenv.isDarwin [coreutils] ++ [gfortran perl];
|
nativeBuildInputs = optionals stdenv.isDarwin [coreutils] ++ [gfortran perl];
|
||||||
|
|
||||||
makeFlags =
|
makeFlags =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user