summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2023-11-27 11:55:33 +0100
committerGitHub <noreply@github.com>2023-11-27 11:55:33 +0100
commit6fff0d4aededec355f9bc3966f2fa6af8f61e4b4 (patch)
treef091a7156f9601a542743b2bcd30d87092633bfa
parent34bce3f4907fc69dcf0ceb9a69a0be6fcab96a84 (diff)
downloadspack-6fff0d4aededec355f9bc3966f2fa6af8f61e4b4.tar.gz
spack-6fff0d4aededec355f9bc3966f2fa6af8f61e4b4.tar.bz2
spack-6fff0d4aededec355f9bc3966f2fa6af8f61e4b4.tar.xz
spack-6fff0d4aededec355f9bc3966f2fa6af8f61e4b4.zip
libxsmm: relax arch requirement (#41193)
* libxsmm: relax arch requirement * libxsmm: add a fixed commit from main
-rw-r--r--var/spack/repos/builtin/packages/libxsmm/package.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/libxsmm/package.py b/var/spack/repos/builtin/packages/libxsmm/package.py
index 4de81dace4..d7aa1a535b 100644
--- a/var/spack/repos/builtin/packages/libxsmm/package.py
+++ b/var/spack/repos/builtin/packages/libxsmm/package.py
@@ -20,7 +20,12 @@ class Libxsmm(MakefilePackage):
maintainers("hfp")
+ # 2.0 release is planned for Jan / Feb 2024. This commit from main is added
+ # as a stable version that supports other targets than x86. Remove this
+ # after 2.0 release.
+ version("main-2023-11", commit="0d9be905527ba575c14ca5d3b4c9673916c868b2")
version("main", branch="main")
+
version("1.17", sha256="8b642127880e92e8a75400125307724635ecdf4020ca4481e5efe7640451bb92")
version("1.16.3", sha256="e491ccadebc5cdcd1fc08b5b4509a0aba4e2c096f53d7880062a66b82a0baf84")
version("1.16.2", sha256="bdc7554b56b9e0a380fc9c7b4f4394b41be863344858bc633bc9c25835c4c64e")
@@ -82,8 +87,9 @@ class Libxsmm(MakefilePackage):
# (<https://github.com/spack/spack/pull/21671#issuecomment-779882282>).
depends_on("binutils+ld+gas@2.33:", type="build", when="@:1.17")
- # Intel Architecture or compatible CPU required
- requires("target=x86_64:")
+ # Version 2.0 supports both x86_64 and aarch64
+ requires("target=x86_64:", "target=aarch64:")
+ requires("target=x86_64:", when="@:1")
@property
def libs(self):