summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormic84 <mrosso@lbl.gov>2021-02-26 13:52:57 -0800
committerGitHub <noreply@github.com>2021-02-26 13:52:57 -0800
commit2fd8612f211995323a7ebf82693734975a890a70 (patch)
treec9e7a6d6a571036caa15e168d2a7bd0d95d3d06f
parentf22caeca36e5d2a27a7a43f3b53a9e72ff3d22cb (diff)
downloadspack-2fd8612f211995323a7ebf82693734975a890a70.tar.gz
spack-2fd8612f211995323a7ebf82693734975a890a70.tar.bz2
spack-2fd8612f211995323a7ebf82693734975a890a70.tar.xz
spack-2fd8612f211995323a7ebf82693734975a890a70.zip
amrex: +hypre and +petsc do not need +fortran from version 20.08 (#21994)
-rw-r--r--var/spack/repos/builtin/packages/amrex/package.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/amrex/package.py b/var/spack/repos/builtin/packages/amrex/package.py
index 1841123e5e..de22be8687 100644
--- a/var/spack/repos/builtin/packages/amrex/package.py
+++ b/var/spack/repos/builtin/packages/amrex/package.py
@@ -95,14 +95,14 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage):
msg='AMReX HDF5 support needs AMReX newer than version 20.06')
conflicts('+hypre', when='@:20.06',
msg='AMReX Hypre support needs AMReX newer than version 20.06')
- conflicts('+hypre', when='~fortran',
- msg='AMReX Hypre support needs AMReX Fortran API (+fortran)')
+ conflicts('+hypre', when='@:20.07 ~fortran',
+ msg='AMReX < 20.08 needs the Fortran API (+fortran) for Hypre support')
conflicts('+hypre', when='~linear_solvers',
msg='AMReX Hypre support needs variant +linear_solvers')
conflicts('+petsc', when='@:20.06',
- msg='AMReX PETSc support needs AMReX newer than version 20.06')
- conflicts('+petsc', when='~fortran',
- msg='AMReX PETSc support needs AMReX Fortran API (+fortran)')
+ msg='PETSc support needs AMReX newer than version 20.06')
+ conflicts('+petsc', when='@:20.07 ~fortran',
+ msg='AMReX < 20.08 needs the Fortran API (+fortran) for PETSc supportx')
conflicts('+petsc', when='~linear_solvers',
msg='AMReX PETSc support needs variant +linear_solvers')
conflicts('+cuda', when='@:19.08',