openblas: 0.3.27 -> 0.3.28

Changes: https://github.com/OpenMathLib/OpenBLAS/releases/tag/v0.3.28
This commit is contained in:
Sergei Trofimovich
2024-08-10 22:08:43 +01:00
parent 2d2404abaf
commit 05f55a6c13
@@ -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).
@@ -142,7 +142,7 @@ let
in
stdenv.mkDerivation rec {
pname = "openblas";
version = "0.3.27";
version = "0.3.28";
outputs = [ "out" "dev" ];
@@ -150,17 +150,9 @@ stdenv.mkDerivation rec {
owner = "OpenMathLib";
repo = "OpenBLAS";
rev = "v${version}";
hash = "sha256-VKDFSPwHGZMa2DoOXbSKNQRsl07LatMLK1lHVcEep8U=";
hash = "sha256-430zG47FoBNojcPFsVC7FA43FhVPxrulxAW3Fs6CHo8=";
};
patches = [
(fetchpatch {
name = "no-gemm3m-tests-static.patch";
url = "https://github.com/OpenMathLib/OpenBLAS/commit/48e017de095018c60d83355804a3075658b4970c.patch";
hash = "sha256-Wa6EE0M1H0efVn26pOKpi0dFGLuPuzmvAzpBLrAYe5k=";
})
];
postPatch = ''
# cc1: error: invalid feature modifier 'sve2' in '-march=armv8.5-a+sve+sve2+bf16'
substituteInPlace Makefile.arm64 --replace "+sve2+bf16" ""