add rol variant (#6105)

This commit is contained in:
vishalkenchan 2017-11-04 20:14:46 +01:00 committed by Todd Gamblin
parent 9d234c4f8e
commit 386e0af089

View file

@ -154,6 +154,8 @@ class Trilinos(CMakePackage):
description='Enable ForTrilinos')
variant('openmp', default=False,
description='Enable OpenMP')
variant('rol', default=False,
description='Enable ROL')
variant('nox', default=False,
description='Enable NOX')
variant('shards', default=False,
@ -309,6 +311,8 @@ def cmake_args(self):
'ON' if '+teuchos' in spec else 'OFF'),
'-DTrilinos_ENABLE_Anasazi:BOOL=%s' % (
'ON' if '+anasazi' in spec else 'OFF'),
'-DTrilinos_ENABLE_ROL:BOOL=%s' % (
'ON' if '+rol' in spec else 'OFF'),
'-DTrilinos_ENABLE_NOX:BOOL=%s' % (
'ON' if '+nox' in spec else 'OFF'),
'-DTrilinos_ENABLE_Shards=%s' % (