From 386e0af0898d769e7f01bc4398f1710a8d613038 Mon Sep 17 00:00:00 2001 From: vishalkenchan Date: Sat, 4 Nov 2017 20:14:46 +0100 Subject: add rol variant (#6105) --- var/spack/repos/builtin/packages/trilinos/package.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py index a63e6208db..a2c33f6701 100644 --- a/var/spack/repos/builtin/packages/trilinos/package.py +++ b/var/spack/repos/builtin/packages/trilinos/package.py @@ -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 @@ class Trilinos(CMakePackage): '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' % ( -- cgit v1.2.3-70-g09d2