Skip to content

Commit 9a19360

Browse files
committed
openblas: 0.3.31 -> 0.3.32
1 parent f943263 commit 9a19360

1 file changed

Lines changed: 5 additions & 11 deletions

File tree

  • pkgs/development/libraries/science/math/openblas

pkgs/development/libraries/science/math/openblas/default.nix

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ let
170170
in
171171
stdenv.mkDerivation (finalAttrs: {
172172
pname = "openblas";
173-
version = "0.3.31";
173+
version = "0.3.32";
174174

175175
outputs = [
176176
"out"
@@ -181,7 +181,7 @@ stdenv.mkDerivation (finalAttrs: {
181181
owner = "OpenMathLib";
182182
repo = "OpenBLAS";
183183
rev = "v${finalAttrs.version}";
184-
hash = "sha256-YBR81GOLnTsc0g1SZL+j31/OFucJrBRFqtOTV8lcy8U=";
184+
hash = "sha256-D0Wu5Ew72aTqSjj970yOfAwPg1T4Qm6zmpaGlQ/5Q1k=";
185185
};
186186

187187
patches = [
@@ -190,16 +190,10 @@ stdenv.mkDerivation (finalAttrs: {
190190
# INCLUDEDIR already fixed in upstream HEAD & significant refactor
191191
# to config gen so not PRing changes
192192
./cmake-include-fixes.patch
193-
]
194-
++ lib.optionals singleThreaded [
195-
# fix single threaded build
196-
(fetchpatch {
197-
url = "https://github.com/OpenMathLib/OpenBLAS/commit/874243421298866d116e1e8bdbd7e0ed4e31e4f6.diff";
198-
hash = "sha256-+L98AjuMaDdmEdF8yruvBpljQ+hGmsfNuJSLxB4quDU=";
199-
})
193+
# Fix build on LoongArch (error: '_Float16' is not supported on this target)
200194
(fetchpatch {
201-
url = "https://github.com/OpenMathLib/OpenBLAS/commit/d2906e8787ccc50051505f97262027bae6b55258.diff";
202-
hash = "sha256-jYYMDr2rDJjM8ESO7/yPDl7Z/Y1MsrFBB4HsNOuFL9M=";
195+
url = "https://github.com/OpenMathLib/OpenBLAS/commit/7086a1b075ca317e12cfe79d40a32ad342a30496.patch";
196+
hash = "sha256-pA3HK2f2MJr/+h/uale7edIYk/KH194EscYFcsujPXY=";
203197
})
204198
];
205199

0 commit comments

Comments
 (0)