From ef872cc64bcc78ffcc091aa5bb2f1346792d9568 Mon Sep 17 00:00:00 2001 From: Sergey Kosukhin Date: Wed, 19 Oct 2022 22:04:32 +0200 Subject: mpich: enable building when @3.4~cuda (#33325) --- var/spack/repos/builtin/packages/mpich/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.3-70-g09d2