From 2fd8612f211995323a7ebf82693734975a890a70 Mon Sep 17 00:00:00 2001 From: mic84 Date: Fri, 26 Feb 2021 13:52:57 -0800 Subject: amrex: +hypre and +petsc do not need +fortran from version 20.08 (#21994) --- var/spack/repos/builtin/packages/amrex/package.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'var/spack/repos/builtin/packages/amrex/package.py') 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', -- cgit v1.2.3-60-g2f50