AMReX: update the CMake requirements for v22.06+ (#31018)

This commit is contained in:
Axel Huebl 2022-06-07 07:01:13 -07:00 committed by GitHub
parent b4e775a11a
commit ed263615d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,6 +115,7 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage):
depends_on('cmake@3.14:', type='build', when='@19.04:')
# cmake @3.17: is necessary to handle cuda @11: correctly
depends_on('cmake@3.17:', type='build', when='^cuda @11:')
depends_on('cmake@3.17:', type='build', when='@22.06:')
depends_on('cmake@3.20:', type='build', when='+rocm')
depends_on('hdf5@1.10.4: +mpi', when='+hdf5')
depends_on('rocrand', type='build', when='+rocm')