libxsmm: Add build dependency on binutils (#34863)

This commit is contained in:
Mosè Giordano 2023-01-10 10:22:01 +00:00 committed by GitHub
parent 954e241174
commit 8c3c8a4e4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)