diff options
author | Robert Pavel <rspavel@gmail.com> | 2017-09-27 21:41:53 -0600 |
---|---|---|
committer | Christoph Junghans <christoph.junghans@gmail.com> | 2017-09-27 21:41:53 -0600 |
commit | e4f4f9a6e5cef410e272dce000584b73f0adcec9 (patch) | |
tree | 0ebd76fbc05f738e2537d14c7f7958496db03a51 /var | |
parent | aa2a403536bc298682e569be9d39189f90aaf7ae (diff) | |
download | spack-e4f4f9a6e5cef410e272dce000584b73f0adcec9.tar.gz spack-e4f4f9a6e5cef410e272dce000584b73f0adcec9.tar.bz2 spack-e4f4f9a6e5cef410e272dce000584b73f0adcec9.tar.xz spack-e4f4f9a6e5cef410e272dce000584b73f0adcec9.zip |
Added shards and intrepid(2) to trilinos (#5481)
Added support for shards, intrepid, and intrepid2 variants to trilinos
spackage
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/trilinos/package.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py index c9b78efb00..67567ccb82 100644 --- a/var/spack/repos/builtin/packages/trilinos/package.py +++ b/var/spack/repos/builtin/packages/trilinos/package.py @@ -155,6 +155,12 @@ class Trilinos(CMakePackage): description='Enable OpenMP') variant('nox', default=False, description='Enable NOX') + variant('shards', default=False, + description='Enable Shards') + variant('intrepid', default=False, + description='Enable Intrepid') + variant('intrepid2', default=False, + description='Enable Intrepid2') resource(name='dtk', git='https://github.com/ornl-cees/DataTransferKit', @@ -305,6 +311,12 @@ class Trilinos(CMakePackage): 'ON' if '+anasazi' in spec else 'OFF'), '-DTrilinos_ENABLE_NOX:BOOL=%s' % ( 'ON' if '+nox' in spec else 'OFF'), + '-DTrilinos_ENABLE_Shards=%s' % ( + 'ON' if '+shards' in spec else 'OFF'), + '-DTrilinos_ENABLE_Intrepid=%s' % ( + 'ON' if '+intrepid' in spec else 'OFF'), + '-DTrilinos_ENABLE_Intrepid2=%s' % ( + 'ON' if '+intrepid2' in spec else 'OFF'), ]) if '+xsdkflags' in spec: |