summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvishalkenchan <vishalkenchan@users.noreply.github.com>2017-11-04 20:14:46 +0100
committerTodd Gamblin <tgamblin@llnl.gov>2017-11-04 12:14:46 -0700
commit386e0af0898d769e7f01bc4398f1710a8d613038 (patch)
tree7d2b3ee06b845da311f1a1be97ca0167b3de4f7e
parent9d234c4f8e304c26894065ec49e122c5d9f0a072 (diff)
downloadspack-386e0af0898d769e7f01bc4398f1710a8d613038.tar.gz
spack-386e0af0898d769e7f01bc4398f1710a8d613038.tar.bz2
spack-386e0af0898d769e7f01bc4398f1710a8d613038.tar.xz
spack-386e0af0898d769e7f01bc4398f1710a8d613038.zip
add rol variant (#6105)
-rw-r--r--var/spack/repos/builtin/packages/trilinos/package.py4
1 files changed, 4 insertions, 0 deletions
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' % (