mpich: enable building when @3.4~cuda (#33325)
This commit is contained in:
parent
1f0751defe
commit
ef872cc64b
@ -508,7 +508,7 @@ def configure_args(self):
|
|||||||
|
|
||||||
if "+cuda" in spec:
|
if "+cuda" in spec:
|
||||||
config_args.append("--with-cuda={0}".format(spec["cuda"].prefix))
|
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
|
# Versions from 3.4 to 3.4.3 cannot handle --without-cuda
|
||||||
# (see https://github.com/pmodels/mpich/pull/5060):
|
# (see https://github.com/pmodels/mpich/pull/5060):
|
||||||
config_args.append("--without-cuda")
|
config_args.append("--without-cuda")
|
||||||
|
Loading…
Reference in New Issue
Block a user