summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorWeiqun Zhang <WeiqunZhang@lbl.gov>2021-07-01 23:47:08 -0700
committerGitHub <noreply@github.com>2021-07-02 08:47:08 +0200
commit189968e2079ba03bd4e1b877e6be279128447407 (patch)
tree7bd2a7949ed8c7843dc408cb67aecc946bd23d05 /var
parentf54fad40bac0f600ec86527712cffe8e619f22fa (diff)
downloadspack-189968e2079ba03bd4e1b877e6be279128447407.tar.gz
spack-189968e2079ba03bd4e1b877e6be279128447407.tar.bz2
spack-189968e2079ba03bd4e1b877e6be279128447407.tar.xz
spack-189968e2079ba03bd4e1b877e6be279128447407.zip
amrex: add v21.07 (#24655)
Also add conflict with rocm-4.2.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/amrex/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/amrex/package.py b/var/spack/repos/builtin/packages/amrex/package.py
index 00f16d2b5e..c0ebe8b521 100644
--- a/var/spack/repos/builtin/packages/amrex/package.py
+++ b/var/spack/repos/builtin/packages/amrex/package.py
@@ -18,6 +18,7 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage):
maintainers = ['WeiqunZhang', 'asalmgren']
version('develop', branch='development')
+ version('21.07', sha256='9630b8c0c7ffbf3f5ea4d973a3fdb40b9b10fec0f8df33b9e24d76d2c1d15771')
version('21.06', sha256='6982c22837d7c0bc4583065d9da55e0aebcf07b54386e4b90a779391fe73fd53')
version('21.05', sha256='eb6d21e48279ad67278413c77b29a1754c18ffe741aa6b3a9f3f01eeac13177f')
version('21.04', sha256='1c610e4b0800b16f7f1da74193ff11af0abfb12198b36a7e565a6a7f793087fa')
@@ -128,6 +129,8 @@ 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',
+ msg='AMReX does not support rocm-4.2 due to a compiler bug')
conflicts('+cuda', when='+rocm', msg='CUDA and HIP support are exclusive')
def url_for_version(self, version):