diff options
author | AMD Toolchain Support <73240730+amd-toolchain-support@users.noreply.github.com> | 2023-10-24 19:06:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 20:06:32 +0200 |
commit | 95558d67aee2fe5deda4c1ad37eeed0b0fb382f3 (patch) | |
tree | 5ed8f7dd1a67626f6a27dfdb05d642a80e2f49e4 /var | |
parent | 83532b5469126acd89e15b6b1f5d637390d7c4ae (diff) | |
download | spack-95558d67aee2fe5deda4c1ad37eeed0b0fb382f3.tar.gz spack-95558d67aee2fe5deda4c1ad37eeed0b0fb382f3.tar.bz2 spack-95558d67aee2fe5deda4c1ad37eeed0b0fb382f3.tar.xz spack-95558d67aee2fe5deda4c1ad37eeed0b0fb382f3.zip |
openmpi: fix pmi@4.2.3: compat (#40686)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/openmpi/package.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index 87e5bc4f2b..5325235612 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -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") |