mpich: enable building when @3.4~cuda (#33325)

This commit is contained in:
Sergey Kosukhin 2022-10-19 22:04:32 +02:00 committed by GitHub
parent 1f0751defe
commit ef872cc64b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -508,7 +508,7 @@ def configure_args(self):
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")