summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2024-06-07 08:17:18 -0700
committerGitHub <noreply@github.com>2024-06-07 08:17:18 -0700
commit59c5bef16500c7092a72432b305ca7b10ecf0e76 (patch)
tree490dd145b95bf3004b4a1748abfe5da8be461fc8
parenta18adf74bf7cd22c88aa0aec2db2cf7ea0904bc4 (diff)
downloadspack-59c5bef16500c7092a72432b305ca7b10ecf0e76.tar.gz
spack-59c5bef16500c7092a72432b305ca7b10ecf0e76.tar.bz2
spack-59c5bef16500c7092a72432b305ca7b10ecf0e76.tar.xz
spack-59c5bef16500c7092a72432b305ca7b10ecf0e76.zip
magma: add rocm-core versions >=6 (#44598)
-rw-r--r--var/spack/repos/builtin/packages/magma/package.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/magma/package.py b/var/spack/repos/builtin/packages/magma/package.py
index ee927289f2..b32089bf17 100644
--- a/var/spack/repos/builtin/packages/magma/package.py
+++ b/var/spack/repos/builtin/packages/magma/package.py
@@ -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")