Skip to content
Snippets Groups Projects
Commit d3916707 authored by Todd Gamblin's avatar Todd Gamblin
Browse files

Merge pull request #966 from verolero86/develop

Add option to disable VT support in openmpi package
parents 78c46aab 6c95a5d4
No related branches found
No related tags found
No related merge requests found
...@@ -65,6 +65,8 @@ class Openmpi(Package): ...@@ -65,6 +65,8 @@ class Openmpi(Package):
variant('sqlite3', default=False, description='Build sqlite3 support') 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 # TODO : support for CUDA is missing
provides('mpi@:2.2', when='@1.6.5') provides('mpi@:2.2', when='@1.6.5')
...@@ -116,7 +118,8 @@ def install(self, spec, prefix): ...@@ -116,7 +118,8 @@ def install(self, spec, prefix):
# Other options # Other options
'--enable-mpi-thread-multiple' if '+thread_multiple' in spec else '--disable-mpi-thread-multiple', '--enable-mpi-thread-multiple' if '+thread_multiple' in spec else '--disable-mpi-thread-multiple',
'--with-pmi' if '+pmi' in spec else '--without-pmi', '--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. # TODO: use variants for this, e.g. +lanl, +llnl, etc.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment