summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorHoward Pritchard <hppritcha@gmail.com>2021-12-16 11:49:28 -0700
committerGitHub <noreply@github.com>2021-12-16 10:49:28 -0800
commit43aeb4e48e08b216e8f535707124451f6b3299d2 (patch)
treea4dd5a4dab7f847f806e7afb941c2847be4140b8 /var
parent305f1d68d66d06ea17335f4725bdeef19cba75c2 (diff)
downloadspack-43aeb4e48e08b216e8f535707124451f6b3299d2.tar.gz
spack-43aeb4e48e08b216e8f535707124451f6b3299d2.tar.bz2
spack-43aeb4e48e08b216e8f535707124451f6b3299d2.tar.xz
spack-43aeb4e48e08b216e8f535707124451f6b3299d2.zip
OpenMPI Package: add variant for romio (#27897)
Add option to disable the internal romio build.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/openmpi/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py
index 478ec138d0..3b5c9f6c82 100644
--- a/var/spack/repos/builtin/packages/openmpi/package.py
+++ b/var/spack/repos/builtin/packages/openmpi/package.py
@@ -243,6 +243,7 @@ class Openmpi(AutotoolsPackage):
description="Build support for the Singularity container")
variant('lustre', default=False,
description="Lustre filesystem library support")
+ variant('romio', default=True, description='Enable ROMIO support')
# Adding support to build a debug version of OpenMPI that activates
# Memchecker, as described here:
#
@@ -730,6 +731,9 @@ class Openmpi(AutotoolsPackage):
'--disable-mpi-java'
])
+ if '~romio' in spec:
+ config_args.append('--disable-io-romio')
+
# SQLite3 support
if spec.satisfies('@1.7.3:1'):
if '+sqlite3' in spec: