add conflict (#26028)

This commit is contained in:
albestro 2021-09-22 12:07:19 +02:00 committed by GitHub
parent ed3aa9633d
commit 7613511718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,6 +101,9 @@ class Umpire(CachedCMakePackage, CudaPackage, ROCmPackage):
# currently only available for cuda.
conflicts('+shared', when='+cuda')
# https://github.com/LLNL/Umpire/issues/653
conflicts('%gcc@10.3.0', when='+cuda')
def _get_sys_type(self, spec):
sys_type = spec.architecture
if "SYS_TYPE" in env: