Added shards and intrepid(2) to trilinos (#5481)
Added support for shards, intrepid, and intrepid2 variants to trilinos spackage
This commit is contained in:
parent
aa2a403536
commit
e4f4f9a6e5
@ -155,6 +155,12 @@ class Trilinos(CMakePackage):
|
|||||||
description='Enable OpenMP')
|
description='Enable OpenMP')
|
||||||
variant('nox', default=False,
|
variant('nox', default=False,
|
||||||
description='Enable NOX')
|
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',
|
resource(name='dtk',
|
||||||
git='https://github.com/ornl-cees/DataTransferKit',
|
git='https://github.com/ornl-cees/DataTransferKit',
|
||||||
@ -305,6 +311,12 @@ def cmake_args(self):
|
|||||||
'ON' if '+anasazi' in spec else 'OFF'),
|
'ON' if '+anasazi' in spec else 'OFF'),
|
||||||
'-DTrilinos_ENABLE_NOX:BOOL=%s' % (
|
'-DTrilinos_ENABLE_NOX:BOOL=%s' % (
|
||||||
'ON' if '+nox' in spec else 'OFF'),
|
'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:
|
if '+xsdkflags' in spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user