summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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',