amrex: add v21.06 and update maintainers (#24086)

Also add hip build dependency on rocprim.
This commit is contained in:
Weiqun Zhang 2021-06-03 08:52:34 -07:00 committed by GitHub
parent 7845da58a7
commit b83f06df0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,9 +15,10 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage):
url = "https://github.com/AMReX-Codes/amrex/releases/download/20.05/amrex-20.05.tar.gz" url = "https://github.com/AMReX-Codes/amrex/releases/download/20.05/amrex-20.05.tar.gz"
git = "https://github.com/AMReX-Codes/amrex.git" git = "https://github.com/AMReX-Codes/amrex.git"
maintainers = ['mic84', 'asalmgren'] maintainers = ['WeiqunZhang', 'asalmgren']
version('develop', branch='development') version('develop', branch='development')
version('21.06', sha256='6982c22837d7c0bc4583065d9da55e0aebcf07b54386e4b90a779391fe73fd53')
version('21.05', sha256='eb6d21e48279ad67278413c77b29a1754c18ffe741aa6b3a9f3f01eeac13177f') version('21.05', sha256='eb6d21e48279ad67278413c77b29a1754c18ffe741aa6b3a9f3f01eeac13177f')
version('21.04', sha256='1c610e4b0800b16f7f1da74193ff11af0abfb12198b36a7e565a6a7f793087fa') version('21.04', sha256='1c610e4b0800b16f7f1da74193ff11af0abfb12198b36a7e565a6a7f793087fa')
version('21.03', sha256='6307bf75c80c2076bf5bd1cff4d12483280a32b5175fe117f32eed9c89cd1ac5') version('21.03', sha256='6307bf75c80c2076bf5bd1cff4d12483280a32b5175fe117f32eed9c89cd1ac5')
@ -86,6 +87,7 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage):
depends_on('cmake@3.17:', type='build', when='^cuda @11:') depends_on('cmake@3.17:', type='build', when='^cuda @11:')
depends_on('hdf5@1.10.4: +mpi', when='+hdf5') depends_on('hdf5@1.10.4: +mpi', when='+hdf5')
depends_on('rocrand', type='build', when='+rocm') depends_on('rocrand', type='build', when='+rocm')
depends_on('rocprim', type='build', when='@21.05: +rocm')
depends_on('hypre@2.18.2:', type='link', when='@:21.02 +hypre') depends_on('hypre@2.18.2:', type='link', when='@:21.02 +hypre')
depends_on('hypre@2.19.0:', type='link', when='@21.03: ~cuda +hypre') depends_on('hypre@2.19.0:', type='link', when='@21.03: ~cuda +hypre')
depends_on('hypre@2.20.0:', type='link', when='@21.03: +cuda +hypre') depends_on('hypre@2.20.0:', type='link', when='@21.03: +cuda +hypre')