Skip to content
Snippets Groups Projects
Commit 47195043 authored by Veronica G. Vergara Larrea's avatar Veronica G. Vergara Larrea
Browse files

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

parent 1774c7a7
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',
'--disable-vt' if '-vt' in spec else '--enable-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