summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Kosukhin <sergey.kosukhin@mpimet.mpg.de>2022-10-19 22:04:32 +0200
committerGitHub <noreply@github.com>2022-10-19 13:04:32 -0700
commitef872cc64bcc78ffcc091aa5bb2f1346792d9568 (patch)
tree21ac8f6c4e664cefc9eda7d7da3ffc4d79f8b608
parent1f0751defe360bd9e54d15dc42b9ef94bc29a491 (diff)
downloadspack-ef872cc64bcc78ffcc091aa5bb2f1346792d9568.tar.gz
spack-ef872cc64bcc78ffcc091aa5bb2f1346792d9568.tar.bz2
spack-ef872cc64bcc78ffcc091aa5bb2f1346792d9568.tar.xz
spack-ef872cc64bcc78ffcc091aa5bb2f1346792d9568.zip
mpich: enable building when @3.4~cuda (#33325)
-rw-r--r--var/spack/repos/builtin/packages/mpich/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py
index a09b779e0b..701ba95856 100644
--- a/var/spack/repos/builtin/packages/mpich/package.py
+++ b/var/spack/repos/builtin/packages/mpich/package.py
@@ -508,7 +508,7 @@ with '-Wl,-commons,use_dylibs' and without
if "+cuda" in spec:
config_args.append("--with-cuda={0}".format(spec["cuda"].prefix))
- elif spec.satisfies("@:3.3,3.4.4:"):
+ elif not spec.satisfies("@3.4:3.4.3"):
# Versions from 3.4 to 3.4.3 cannot handle --without-cuda
# (see https://github.com/pmodels/mpich/pull/5060):
config_args.append("--without-cuda")