amrex: add gcc 8 conflicts (#22339)

This commit is contained in:
eugeneswalker 2021-03-16 16:54:40 -07:00 committed by GitHub
parent 12cad38aef
commit b75b029706
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,6 +91,11 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage):
conflicts('%apple-clang') conflicts('%apple-clang')
conflicts('%clang') conflicts('%clang')
# these versions of gcc have lambda function issues
# see https://github.com/spack/spack/issues/22310
conflicts('%gcc@8.1.0:8.3.0', when='@21.03')
conflicts('%gcc@8.1.0:8.2.0', when='@21.01:21.02')
# Check options compatibility # Check options compatibility
conflicts('+sundials', when='~fortran', conflicts('+sundials', when='~fortran',
msg='AMReX SUNDIALS support needs AMReX Fortran API (+fortran)') msg='AMReX SUNDIALS support needs AMReX Fortran API (+fortran)')