Merge pull request #133694 from r-burns/openblas

[staging] openblas: 0.3.15 -> 0.3.17
This commit is contained in:
Sandro 2021-08-21 15:29:41 +02:00 committed by GitHub
commit 2615ae99e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, perl, which
{ lib, stdenv, fetchFromGitHub, perl, which
# 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).
@ -129,7 +129,7 @@ let
in
stdenv.mkDerivation rec {
pname = "openblas";
version = "0.3.15";
version = "0.3.17";
outputs = [ "out" "dev" ];
@ -137,23 +137,9 @@ stdenv.mkDerivation rec {
owner = "xianyi";
repo = "OpenBLAS";
rev = "v${version}";
sha256 = "1qjr02cqncv20abdp1yzr55n7smhx6h9chqvb0xbp18byynvj87w";
sha256 = "11j103s851mml6kns781kha0asxjz6b6s1vbv80aq3b6g7p05pms";
};
# remove both patches when updating to 0.3.16
patches = [
(fetchpatch {
name = "riscv64-imin-fix-wrong-comparison.patch";
url = "https://github.com/xianyi/OpenBLAS/commit/1e0192a5ccac28fc0c749f49d36ec7eda9757428.patch";
sha256 = "0kjkmrj8023vcjxhgin5dqs5w3gf93hzhwdhg0vsjhdra2ghkwzj";
})
(fetchpatch {
name = "riscv64-generic-use-generic-kernel-for-dsdot.patch";
url = "https://github.com/xianyi/OpenBLAS/commit/3521cd48cbfb3d50f6ae9a10377382d37075c696.patch";
sha256 = "0ljwbldff4db377s8rzmqxrszilqdivy656yqvfq46x5338v3gi0";
})
];
inherit blas64;
# Some hardening features are disabled due to sporadic failures in