From 841df2cd7a79b4f1d01373b937b5c72b3ac6ee6a Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sat, 7 Nov 2015 11:40:28 -0600 Subject: [PATCH] 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. --- pkgs/development/libraries/science/math/openblas/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/libraries/science/math/openblas/default.nix b/pkgs/development/libraries/science/math/openblas/default.nix index 6694399b8b9..11b6b3547e8 100644 --- a/pkgs/development/libraries/science/math/openblas/default.nix +++ b/pkgs/development/libraries/science/math/openblas/default.nix @@ -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, # but some expect to use 32-bit integers always (for compatibility with reference BLAS). , blas64 ? null @@ -34,8 +34,6 @@ stdenv.mkDerivation { inherit blas64; - preBuild = "cp ${liblapack.src} lapack-${liblapack.meta.version}.tgz"; - nativeBuildInputs = optionals stdenv.isDarwin [coreutils] ++ [gfortran perl]; makeFlags =