openblas: backport fix for ARM64 non-SVE DDOT kernel (#508576)

This commit is contained in:
Vladimír Čunát
2026-04-11 09:49:05 +00:00
committed by GitHub
@@ -195,6 +195,14 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://github.com/OpenMathLib/OpenBLAS/commit/7086a1b075ca317e12cfe79d40a32ad342a30496.patch";
hash = "sha256-pA3HK2f2MJr/+h/uale7edIYk/KH194EscYFcsujPXY=";
})
]
++ lib.optionals stdenv.hostPlatform.isAarch64 [
# Backport https://github.com/OpenMathLib/OpenBLAS/pull/5710
# Work around miscompilation of the ARM64 non-SVE DDOT kernel
(fetchpatch {
url = "https://github.com/OpenMathLib/OpenBLAS/commit/e3ce4623c299068bbd47c35ee87aab334bac73b1.patch";
hash = "sha256-j0zIJjNiAdIVPgdxB+pXiOrOtedDu6Yq+dgaJ/wCquk=";
})
];
inherit blas64;