add a flag to openmpi to allow users to disable vt support

This commit is contained in:
Veronica G. Vergara Larrea 2016-05-17 13:40:01 -04:00
parent 1774c7a7b3
commit 471950434e

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',
'--disable-vt' if '-vt' in spec else '--enable-vt'
])
# TODO: use variants for this, e.g. +lanl, +llnl, etc.