Skip to content

Commit 1dcceeb

Browse files
authored
openblas: patch for +dynamic_dispatch target=aarch64 (#2903)
1 parent 60625d6 commit 1dcceeb

File tree

1 file changed

+7
-0
lines changed
  • repos/spack_repo/builtin/packages/openblas

1 file changed

+7
-0
lines changed

repos/spack_repo/builtin/packages/openblas/package.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,13 @@ class Openblas(CMakePackage, MakefilePackage):
287287
when="@0.3.27 %oneapi",
288288
)
289289

290+
# Fix arm64 HAVE_SME setting for DYNAMIC_ARCH builds using CMake
291+
patch(
292+
"https://github.com/OpenMathLib/OpenBLAS/commit/cdebb4fd4b2bbbf856e5abdcedbe9a5cf348ef8e.patch?full_index=1",
293+
sha256="0df81a8f5c1460d3db461e2309e5ac0b70c7745a97a10e617f109b4a5811e043",
294+
when="@0.3.30 +dynamic_dispatch target=aarch64:",
295+
)
296+
290297
# ilp64 and symbol suffixes are not supported with CMake build system
291298
requires("~ilp64", when="build_system=cmake")
292299
requires("symbol_suffix=none", when="build_system=cmake")

0 commit comments

Comments
 (0)