diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/amrex/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/amrex/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/amrex/package.py b/var/spack/repos/builtin/packages/amrex/package.py index ad8f00b52a..a5721cf12e 100644 --- a/var/spack/repos/builtin/packages/amrex/package.py +++ b/var/spack/repos/builtin/packages/amrex/package.py @@ -93,7 +93,7 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage): depends_on('sundials@5.7.0: +ARKODE +CVODE +rocm amdgpu_target=%s' % tgt, when='@21.07: +sundials +rocm amdgpu_target=%s' % tgt) depends_on('cuda@9.0.0:', when='+cuda') depends_on('python@2.7:', type='build', when='@:20.04') - depends_on('cmake@3.5:', type='build', when='@:18.10.99') + depends_on('cmake@3.5:', type='build', when='@:18.10') depends_on('cmake@3.13:', type='build', when='@18.11:') depends_on('cmake@3.14:', type='build', when='@19.04:') # cmake @3.17: is necessary to handle cuda @11: correctly @@ -141,7 +141,7 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage): conflicts('cuda_arch=30', when='+cuda', msg='AMReX only supports compute capabilities >= 3.5') conflicts('cuda_arch=32', when='+cuda', msg='AMReX only supports compute capabilities >= 3.5') conflicts('+rocm', when='@:20.11', msg='AMReX HIP support needs AMReX newer than version 20.11') - conflicts('%rocm@4.2.0:4.2.99', when='+rocm', + conflicts('%rocm@4.2.0:4.2', when='+rocm', msg='AMReX does not support rocm-4.2 due to a compiler bug') conflicts('+cuda', when='+rocm', msg='CUDA and HIP support are exclusive') |