summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCory Bloor <Cordell.Bloor@amd.com>2023-01-24 14:30:58 -0700
committerGitHub <noreply@github.com>2023-01-24 22:30:58 +0100
commitd17aaf87292628c4827451b527b0e7077e26098c (patch)
tree275fc40e5a92c65e17b21d0140d3d1f8b5778790 /lib
parentef6699b874a1f99aa4a5f77c685999de24d99225 (diff)
downloadspack-d17aaf87292628c4827451b527b0e7077e26098c.tar.gz
spack-d17aaf87292628c4827451b527b0e7077e26098c.tar.bz2
spack-d17aaf87292628c4827451b527b0e7077e26098c.tar.xz
spack-d17aaf87292628c4827451b527b0e7077e26098c.zip
hip: add cuda variant (#33872)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/rocm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_systems/rocm.py b/lib/spack/spack/build_systems/rocm.py
index 5ef1b9a122..e219ee1f89 100644
--- a/lib/spack/spack/build_systems/rocm.py
+++ b/lib/spack/spack/build_systems/rocm.py
@@ -138,7 +138,7 @@ class ROCmPackage(PackageBase):
depends_on("llvm-amdgpu", when="+rocm")
depends_on("hsa-rocr-dev", when="+rocm")
- depends_on("hip", when="+rocm")
+ depends_on("hip +rocm", when="+rocm")
conflicts("^blt@:0.3.6", when="+rocm")