depend on libevent when +pmix (#27020)
Co-authored-by: Daryl W. Grunau <dwg@lanl.gov>
This commit is contained in:
parent
7fd1d2b03f
commit
d0e177e711
@ -314,6 +314,7 @@ class Openmpi(AutotoolsPackage):
|
||||
depends_on('pbs', when='schedulers=tm')
|
||||
depends_on('slurm', when='schedulers=slurm')
|
||||
depends_on('pmix', when='+pmix')
|
||||
depends_on('libevent', when='+pmix')
|
||||
|
||||
depends_on('openssh', type='run')
|
||||
|
||||
@ -707,7 +708,7 @@ def configure_args(self):
|
||||
lustre_opt = '--with-lustre={0}'.format(spec['lustre'].prefix)
|
||||
config_args.append(lustre_opt)
|
||||
# external libevent
|
||||
if spec.satisfies('@4.0.0:'):
|
||||
if spec.satisfies('@4.0.0:') or spec.satisfies('+pmix'):
|
||||
config_args.append('--with-libevent={0}'.format(spec['libevent'].prefix))
|
||||
# Hwloc support
|
||||
if '~internal-hwloc' in spec and spec.satisfies('@1.5.2:'):
|
||||
|
Loading…
Reference in New Issue
Block a user