Added Support for NOX Package to Trilinos Spackage (#5366)
Added support for building NOX package to Trilinis Spackage
This commit is contained in:
parent
78894645eb
commit
ead1982ede
@ -153,6 +153,8 @@ class Trilinos(CMakePackage):
|
|||||||
description='Enable ForTrilinos')
|
description='Enable ForTrilinos')
|
||||||
variant('openmp', default=False,
|
variant('openmp', default=False,
|
||||||
description='Enable OpenMP')
|
description='Enable OpenMP')
|
||||||
|
variant('nox', default=False,
|
||||||
|
description='Enable NOX')
|
||||||
|
|
||||||
resource(name='dtk',
|
resource(name='dtk',
|
||||||
git='https://github.com/ornl-cees/DataTransferKit',
|
git='https://github.com/ornl-cees/DataTransferKit',
|
||||||
@ -301,6 +303,8 @@ def cmake_args(self):
|
|||||||
'ON' if '+teuchos' in spec else 'OFF'),
|
'ON' if '+teuchos' in spec else 'OFF'),
|
||||||
'-DTrilinos_ENABLE_Anasazi:BOOL=%s' % (
|
'-DTrilinos_ENABLE_Anasazi:BOOL=%s' % (
|
||||||
'ON' if '+anasazi' in spec else 'OFF'),
|
'ON' if '+anasazi' in spec else 'OFF'),
|
||||||
|
'-DTrilinos_ENABLE_NOX:BOOL=%s' % (
|
||||||
|
'ON' if '+nox' in spec else 'OFF'),
|
||||||
])
|
])
|
||||||
|
|
||||||
if '+xsdkflags' in spec:
|
if '+xsdkflags' in spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user