OpenMPI Package: add variant for romio (#27897)

Add option to disable the internal romio build.
This commit is contained in:
Howard Pritchard 2021-12-16 11:49:28 -07:00 committed by GitHub
parent 305f1d68d6
commit 43aeb4e48e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,6 +243,7 @@ class Openmpi(AutotoolsPackage):
description="Build support for the Singularity container") description="Build support for the Singularity container")
variant('lustre', default=False, variant('lustre', default=False,
description="Lustre filesystem library support") description="Lustre filesystem library support")
variant('romio', default=True, description='Enable ROMIO support')
# Adding support to build a debug version of OpenMPI that activates # Adding support to build a debug version of OpenMPI that activates
# Memchecker, as described here: # Memchecker, as described here:
# #
@ -730,6 +731,9 @@ def configure_args(self):
'--disable-mpi-java' '--disable-mpi-java'
]) ])
if '~romio' in spec:
config_args.append('--disable-io-romio')
# SQLite3 support # SQLite3 support
if spec.satisfies('@1.7.3:1'): if spec.satisfies('@1.7.3:1'):
if '+sqlite3' in spec: if '+sqlite3' in spec: