openmpi: fix pmi@4.2.3: compat (#40686)
This commit is contained in:
parent
83532b5469
commit
95558d67ae
1 changed files with 8 additions and 5 deletions
|
@ -555,11 +555,14 @@ class Openmpi(AutotoolsPackage, CudaPackage):
|
|||
|
||||
# PMIx is unavailable for @1, and required for @2:
|
||||
# OpenMPI @2: includes a vendored version:
|
||||
# depends_on('pmix@1.1.2', when='@2.1.6')
|
||||
# depends_on('pmix@3.2.3', when='@4.1.2')
|
||||
depends_on("pmix@1.0:1", when="@2.0:2 ~internal-pmix")
|
||||
depends_on("pmix@3.2:", when="@4.0:4 ~internal-pmix")
|
||||
depends_on("pmix@4.2:", when="@5.0:5 ~internal-pmix")
|
||||
with when("~internal-pmix"):
|
||||
depends_on("pmix@1", when="@2")
|
||||
depends_on("pmix@3.2:", when="@4:")
|
||||
depends_on("pmix@4.2:", when="@5:")
|
||||
|
||||
# pmix@4.2.3 contains a breaking change, compat fixed in openmpi@4.1.6
|
||||
# See https://www.mail-archive.com/announce@lists.open-mpi.org//msg00158.html
|
||||
depends_on("pmix@:4.2.2", when="@:4.1.5")
|
||||
|
||||
# Libevent is required when *vendored* PMIx is used
|
||||
depends_on("libevent@2:", when="@main")
|
||||
|
|
Loading…
Reference in a new issue