From b83f06df0c4262afd43bf8816bae0db84247f849 Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Thu, 3 Jun 2021 08:52:34 -0700 Subject: [PATCH] amrex: add v21.06 and update maintainers (#24086) Also add hip build dependency on rocprim. --- var/spack/repos/builtin/packages/amrex/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/amrex/package.py b/var/spack/repos/builtin/packages/amrex/package.py index 58a37bbae4..00f16d2b5e 100644 --- a/var/spack/repos/builtin/packages/amrex/package.py +++ b/var/spack/repos/builtin/packages/amrex/package.py @@ -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" git = "https://github.com/AMReX-Codes/amrex.git" - maintainers = ['mic84', 'asalmgren'] + maintainers = ['WeiqunZhang', 'asalmgren'] version('develop', branch='development') + version('21.06', sha256='6982c22837d7c0bc4583065d9da55e0aebcf07b54386e4b90a779391fe73fd53') version('21.05', sha256='eb6d21e48279ad67278413c77b29a1754c18ffe741aa6b3a9f3f01eeac13177f') version('21.04', sha256='1c610e4b0800b16f7f1da74193ff11af0abfb12198b36a7e565a6a7f793087fa') 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('hdf5@1.10.4: +mpi', when='+hdf5') 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.19.0:', type='link', when='@21.03: ~cuda +hypre') depends_on('hypre@2.20.0:', type='link', when='@21.03: +cuda +hypre')