diff options
-rw-r--r-- | var/spack/repos/builtin/packages/raja/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/raja/package.py b/var/spack/repos/builtin/packages/raja/package.py index 8c3bcb67fd..fd76843ec8 100644 --- a/var/spack/repos/builtin/packages/raja/package.py +++ b/var/spack/repos/builtin/packages/raja/package.py @@ -58,6 +58,8 @@ class Raja(CachedCMakePackage, CudaPackage, ROCmPackage): depends_on('camp@0.2.2', when='@0.14.0:') depends_on('camp@0.1.0', when='@0.12.0:0.13.0') + depends_on('cmake@:3.20', when='+rocm', type='build') + with when('+rocm @0.12.0:'): depends_on('camp+rocm') for arch in ROCmPackage.amdgpu_targets: |