diff --git a/pkgs/development/libraries/science/math/openblas/default.nix b/pkgs/development/libraries/science/math/openblas/default.nix index f3eaef61b82c8..9c186314130d5 100644 --- a/pkgs/development/libraries/science/math/openblas/default.nix +++ b/pkgs/development/libraries/science/math/openblas/default.nix @@ -2,7 +2,6 @@ lib, stdenv, fetchFromGitHub, - fetchpatch, perl, which, # Most packages depending on openblas expect integer width to match @@ -181,7 +180,7 @@ let in stdenv.mkDerivation rec { pname = "openblas"; - version = "0.3.30"; + version = "0.3.31"; outputs = [ "out" @@ -192,25 +191,12 @@ stdenv.mkDerivation rec { owner = "OpenMathLib"; repo = "OpenBLAS"; rev = "v${version}"; - hash = "sha256-foP2OXUL6ttgYvCxLsxUiVdkPoTvGiHomdNudbSUmSE="; + hash = "sha256-YBR81GOLnTsc0g1SZL+j31/OFucJrBRFqtOTV8lcy8U="; }; - patches = [ - # Remove this once https://github.com/OpenMathLib/OpenBLAS/issues/5414 is - # resolved. - ./disable-sme-sgemm-kernel.patch - - # https://github.com/OpenMathLib/OpenBLAS/issues/5460 - (fetchpatch { - name = "0001-openblas-Use-generic-kernels-for-SCAL-on-POWER4-5.patch"; - url = "https://github.com/OpenMathLib/OpenBLAS/commit/14c9dcaac70d9382de00ba4418643d9587f4950e.patch"; - hash = "sha256-mIOqRc7tE1rV/krrAu630JwApZHdeHCdVmO5j6eDC8U="; - }) - ]; - postPatch = '' # cc1: error: invalid feature modifier 'sve2' in '-march=armv8.5-a+sve+sve2+bf16' - substituteInPlace Makefile.arm64 --replace "+sve2+bf16" "" + substituteInPlace Makefile.arm64 --replace-fail "+sve2+bf16" "" ''; inherit blas64;