Merge pull request #966 from verolero86/develop

Add option to disable VT support in openmpi package
This commit is contained in:
Todd Gamblin 2016-05-18 08:36:23 -07:00
commit d391670755

View File

@ -65,6 +65,8 @@ class Openmpi(Package):
variant('sqlite3', default=False, description='Build sqlite3 support')
variant('vt', default=True, description='Build support for contributed package vt')
# TODO : support for CUDA is missing
provides('mpi@:2.2', when='@1.6.5')
@ -116,7 +118,8 @@ def install(self, spec, prefix):
# Other options
'--enable-mpi-thread-multiple' if '+thread_multiple' in spec else '--disable-mpi-thread-multiple',
'--with-pmi' if '+pmi' in spec else '--without-pmi',
'--with-sqlite3' if '+sqlite3' in spec else '--without-sqlite3'
'--with-sqlite3' if '+sqlite3' in spec else '--without-sqlite3',
'--enable-vt' if '+vt' in spec else '--disable-vt'
])
# TODO: use variants for this, e.g. +lanl, +llnl, etc.