magma: add rocm-core versions >=6 (#44598)

This commit is contained in:
eugeneswalker 2024-06-07 08:17:18 -07:00 committed by GitHub
parent a18adf74bf
commit 59c5bef165
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,18 @@ class Magma(CMakePackage, CudaPackage, ROCmPackage):
depends_on("hipsparse", when="+rocm")
# This ensures that rocm-core matches the hip package version in the case that
# hip is an external package.
for ver in ["5.5.0", "5.5.1", "5.6.0", "5.6.1", "5.7.0", "5.7.1", "6.0.0", "6.0.2"]:
for ver in [
"5.5.0",
"5.5.1",
"5.6.0",
"5.6.1",
"5.7.0",
"5.7.1",
"6.0.0",
"6.0.2",
"6.1.0",
"6.1.1",
]:
depends_on(f"rocm-core@{ver}", when=f"@2.8.0: +rocm ^hip@{ver}")
depends_on("python", when="@master", type="build")