amrex: allow builds with clang and apple-clang (#22967)

This commit is contained in:
mic84 2021-04-13 11:18:19 -07:00 committed by GitHub
parent e020f343de
commit cb53259306
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,8 +89,6 @@ class Amrex(CMakePackage, CudaPackage, ROCmPackage):
depends_on('hypre@2.19.0:', type='link', when='@21.03: ~cuda +hypre')
depends_on('hypre@2.20.0:', type='link', when='@21.03: +cuda +hypre')
depends_on('petsc', type='link', when='+petsc')
conflicts('%apple-clang')
conflicts('%clang')
# these versions of gcc have lambda function issues
# see https://github.com/spack/spack/issues/22310