umpire: fix gcc@10.3.0 conflict (#27620)
Make sure that `gcc@10.3.0-[number]` also matches the conflict.
This commit is contained in:
parent
70d5d234db
commit
635984f077
@ -104,9 +104,8 @@ class Umpire(CachedCMakePackage, CudaPackage, ROCmPackage):
|
||||
|
||||
# https://github.com/LLNL/Umpire/issues/653
|
||||
# This range looks weird, but it ensures the concretizer looks at it as a
|
||||
# range, not as a concrete version, so that it also matches compilers
|
||||
# specified as `gcc@10.3.0-identifier`. See #8957.
|
||||
conflicts('%gcc@10.3.0:10.3.0.0', when='+cuda')
|
||||
# range, not as a concrete version, so that it also matches 10.3.* versions.
|
||||
conflicts('%gcc@10.3.0:10.3', when='+cuda')
|
||||
|
||||
def _get_sys_type(self, spec):
|
||||
sys_type = spec.architecture
|
||||
|
Loading…
Reference in New Issue
Block a user