summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-09-26 12:28:30 +0200
committerGitHub <noreply@github.com>2021-09-26 12:28:30 +0200
commite76462da3874085d35ffa3c4e71858423dedc695 (patch)
treeffcea745efbc941eef5b514f36ecd774ccabe6db
parentfbda52d1b0ddbf56c88fe07c5a1820ccdb716690 (diff)
downloadspack-e76462da3874085d35ffa3c4e71858423dedc695.tar.gz
spack-e76462da3874085d35ffa3c4e71858423dedc695.tar.bz2
spack-e76462da3874085d35ffa3c4e71858423dedc695.tar.xz
spack-e76462da3874085d35ffa3c4e71858423dedc695.zip
Compiler conflict in umpire as a range (#26161)
-rw-r--r--var/spack/repos/builtin/packages/umpire/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/umpire/package.py b/var/spack/repos/builtin/packages/umpire/package.py
index b600863c29..9580438b3c 100644
--- a/var/spack/repos/builtin/packages/umpire/package.py
+++ b/var/spack/repos/builtin/packages/umpire/package.py
@@ -103,7 +103,10 @@ class Umpire(CachedCMakePackage, CudaPackage, ROCmPackage):
conflicts('+shared', when='+cuda')
# https://github.com/LLNL/Umpire/issues/653
- conflicts('%gcc@10.3.0', when='+cuda')
+ # 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')
def _get_sys_type(self, spec):
sys_type = spec.architecture