diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/sirius/package.py | 3 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/spfft/package.py | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/sirius/package.py b/var/spack/repos/builtin/packages/sirius/package.py index 1e9cc15c24..50e8a073c1 100644 --- a/var/spack/repos/builtin/packages/sirius/package.py +++ b/var/spack/repos/builtin/packages/sirius/package.py @@ -115,6 +115,9 @@ class Sirius(CMakePackage, CudaPackage): depends_on('hsa-rocr-dev', when='+rocm', type='link') depends_on('rocblas', when='+rocm') + # FindHIP cmake script only works for < 4.1 + depends_on('hip@:4.0', when='@:7.2.0 +rocm') + extends('python', when='+python') conflicts('+shared', when='@6.3.0:6.4.999') diff --git a/var/spack/repos/builtin/packages/spfft/package.py b/var/spack/repos/builtin/packages/spfft/package.py index d5a54624d5..5829ddb977 100644 --- a/var/spack/repos/builtin/packages/spfft/package.py +++ b/var/spack/repos/builtin/packages/spfft/package.py @@ -55,6 +55,9 @@ class Spfft(CMakePackage, CudaPackage): depends_on('cuda@:10', when='@:0.9.11 +cuda') + # FindHIP cmake script only works for < 4.1 + depends_on('hip@:4.0', when='@:1.0.1 +rocm') + def cmake_args(self): spec = self.spec args = [ |