Merge pull request #73958 from markuskowa/upd-lapack

liblapack: 3.8.0 -> 3.9.0
This commit is contained in:
Dmitry Kalinkin 2019-11-24 20:06:04 -05:00 committed by GitHub
commit aa7efea848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{
stdenv,
fetchurl,
fetchFromGitHub,
gfortran,
cmake,
python2,
@ -8,19 +8,22 @@
}:
let
inherit (stdenv.lib) optional;
version = "3.8.0";
version = "3.9.0";
in
stdenv.mkDerivation {
pname = "liblapack";
inherit version;
src = fetchurl {
url = "http://www.netlib.org/lapack/lapack-${version}.tar.gz";
sha256 = "1xmwi2mqmipvg950gb0rhgprcps8gy8sjm8ic9rgy2qjlv22rcny";
src = fetchFromGitHub {
owner = "Reference-LAPACK";
repo = "lapack";
rev = "v${version}";
sha256 = "0sxnc97z67i7phdmcnq8f8lmxgw10wdwvr8ami0w3pb179cgrbpb";
};
buildInputs = [ gfortran cmake ];
nativeBuildInputs = [ python2 ];
buildInputs = [ gfortran ];
nativeBuildInputs = [ python2 cmake ];
cmakeFlags = [
"-DCMAKE_Fortran_FLAGS=-fPIC"