lapack-reference: 3.10.0 -> 3.10.1

This commit is contained in:
Markus Kowalewski 2022-04-15 12:43:41 +02:00
parent 56cb8cb306
commit 5f11f5b0e0
No known key found for this signature in database
GPG Key ID: D865C8A91D7025EB

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, gfortran
, cmake
, shared ? true
@ -11,23 +10,15 @@
stdenv.mkDerivation rec {
pname = "liblapack";
version = "3.10.0";
version = "3.10.1";
src = fetchFromGitHub {
owner = "Reference-LAPACK";
repo = "lapack";
rev = "v${version}";
sha256 = "sha256-ewYUM+M7jDO5LLnB4joiKkqgXjEDmWbFZbgad8x98gc=";
sha256 = "07wwydw72gl4fhfqcyc8sbz7ynm0i23pggyfqn0r9a29g7qh8bqs";
};
patches = [
(fetchpatch {
name = "CVE-2021-4048.patch";
url = "https://github.com/Reference-LAPACK/lapack/commit/0631b6beaed60ba118b0b027c0f8d35397bf5df0.patch";
sha256 = "1bqjw3f6ak9iz97y7ckn0rrfcgrzbn9prgfasl489qpxgzp2kjh8";
})
];
nativeBuildInputs = [ gfortran cmake ];
# Configure stage fails on aarch64-darwin otherwise, due to either clang 11 or gfortran 10.