diff options
author | Howard Pritchard <howardp@lanl.gov> | 2023-12-19 06:54:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-19 14:54:25 +0100 |
commit | 02eafeee03bb50eb0b52840dbb9ab11a113adb46 (patch) | |
tree | d5c308b0c98ea0d0cbe50f87243156c598768abb /var | |
parent | 812a43621b85d694e0fa269f23c7e8deebdef386 (diff) | |
download | spack-02eafeee03bb50eb0b52840dbb9ab11a113adb46.tar.gz spack-02eafeee03bb50eb0b52840dbb9ab11a113adb46.tar.bz2 spack-02eafeee03bb50eb0b52840dbb9ab11a113adb46.tar.xz spack-02eafeee03bb50eb0b52840dbb9ab11a113adb46.zip |
openmpi: allow external libevent in general case (#41686)
add a internal-libevent variant to add an out.
related to #41549
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/openmpi/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index f2347d01ec..b141558a8c 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -498,6 +498,7 @@ class Openmpi(AutotoolsPackage, CudaPackage): # Variants to use internal packages variant("internal-hwloc", default=False, description="Use internal hwloc") variant("internal-pmix", default=False, description="Use internal pmix") + variant("internal-libevent", default=False, description="Use internal libevent") variant("openshmem", default=False, description="Enable building OpenSHMEM") provides("mpi") @@ -565,7 +566,7 @@ class Openmpi(AutotoolsPackage, CudaPackage): depends_on("pmix@:4.2.2", when="@:4.1.5") # Libevent is required when *vendored* PMIx is used - depends_on("libevent@2:", when="@main") + depends_on("libevent@2:", when="~internal-libevent") depends_on("openssh", type="run", when="+rsh") |