Merge pull request #333775 from trofi/openblas-update

openblas: 0.3.27 -> 0.3.28
This commit is contained in:
Fabián Heredia Montiel
2024-08-15 17:23:51 -06:00
committed by GitHub
@@ -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" ""