the right flag here is +, the default behavior is controlled in the variant

This commit is contained in:
Veronica G. Vergara Larrea 2016-05-17 14:37:36 -04:00
parent 471950434e
commit 6c95a5d496

View File

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