summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMosè Giordano <giordano@users.noreply.github.com>2023-01-10 10:22:01 +0000
committerGitHub <noreply@github.com>2023-01-10 11:22:01 +0100
commit8c3c8a4e4d9e6a587be6b20fe52f927fe81e5167 (patch)
tree58c94991054aafea2d30bd24687b6642ae24da50 /var
parent954e24117439c81773bda23a86e3b0fd3eef2e70 (diff)
downloadspack-8c3c8a4e4d9e6a587be6b20fe52f927fe81e5167.tar.gz
spack-8c3c8a4e4d9e6a587be6b20fe52f927fe81e5167.tar.bz2
spack-8c3c8a4e4d9e6a587be6b20fe52f927fe81e5167.tar.xz
spack-8c3c8a4e4d9e6a587be6b20fe52f927fe81e5167.zip
libxsmm: Add build dependency on binutils (#34863)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libxsmm/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libxsmm/package.py b/var/spack/repos/builtin/packages/libxsmm/package.py
index 22af0c861c..bb8fdc8402 100644
--- a/var/spack/repos/builtin/packages/libxsmm/package.py
+++ b/var/spack/repos/builtin/packages/libxsmm/package.py
@@ -77,6 +77,11 @@ class Libxsmm(MakefilePackage):
)
depends_on("python", type="build")
+ # A recent `as` is needed to compile libxmss until version 1.17
+ # (<https://github.com/spack/spack/issues/28404>), but not afterwards
+ # (<https://github.com/spack/spack/pull/21671#issuecomment-779882282>).
+ depends_on("binutils+ld+gas@2.33:", type="build", when="@:1.17")
+
@property
def libs(self):
result = find_libraries(["libxsmm", "libxsmmf"], root=self.prefix, recursive=True)