sundials: expose monitoring build option (#21429)
This commit is contained in:
parent
b597e01e33
commit
61641ecff2
@ -125,6 +125,10 @@ class Sundials(CMakePackage):
|
|||||||
variant('generic-math', default=True,
|
variant('generic-math', default=True,
|
||||||
description='Use generic (std-c) math libraries on unix systems')
|
description='Use generic (std-c) math libraries on unix systems')
|
||||||
|
|
||||||
|
# Monitoring
|
||||||
|
variant('monitoring', default=False,
|
||||||
|
description='Build with simulation monitoring capabilities')
|
||||||
|
|
||||||
# ==========================================================================
|
# ==========================================================================
|
||||||
# Conflicts
|
# Conflicts
|
||||||
# ==========================================================================
|
# ==========================================================================
|
||||||
@ -141,6 +145,7 @@ class Sundials(CMakePackage):
|
|||||||
conflicts('+superlu-dist', when='@:4.1.0')
|
conflicts('+superlu-dist', when='@:4.1.0')
|
||||||
conflicts('+f2003', when='@:4.1.0')
|
conflicts('+f2003', when='@:4.1.0')
|
||||||
conflicts('+trilinos', when='@:4.1.0')
|
conflicts('+trilinos', when='@:4.1.0')
|
||||||
|
conflicts('+monitoring', when='@:5.5.0')
|
||||||
|
|
||||||
# External libraries incompatible with 64-bit indices
|
# External libraries incompatible with 64-bit indices
|
||||||
conflicts('+lapack', when='@3.0.0: +int64')
|
conflicts('+lapack', when='@3.0.0: +int64')
|
||||||
@ -264,6 +269,11 @@ def on_off(varstr):
|
|||||||
'-DUSE_GENERIC_MATH=%s' % on_off('+generic-math')
|
'-DUSE_GENERIC_MATH=%s' % on_off('+generic-math')
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# Monitoring
|
||||||
|
args.extend([
|
||||||
|
'-DSUNDIALS_BUILD_WITH_MONITORING=%s' % on_off('+monitoring')
|
||||||
|
])
|
||||||
|
|
||||||
# parallelism
|
# parallelism
|
||||||
args.extend([
|
args.extend([
|
||||||
'-DMPI_ENABLE=%s' % on_off('+mpi'),
|
'-DMPI_ENABLE=%s' % on_off('+mpi'),
|
||||||
|
Loading…
Reference in New Issue
Block a user