Skip to content

Commit

Permalink
Added new custom variants for icon
Browse files Browse the repository at this point in the history
* lagtraj [default: false]:  for lagrangian trajectories icon external
  (dev by SF, not in official icon repo)
* dbgstream [default false]: for custom debug stream icon external (dev
  by SF, not in official icon repo)
  • Loading branch information
sylvaine committed Feb 8, 2025
1 parent a38faf2 commit 510b93c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions repos/c2sm/packages/icon/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,14 @@ class Icon(AutotoolsPackage, CudaPackage):
description='Enable usage of ComIn toolbox '
'for building plugins.')

variant('lagtraj',
default=False,
description='Enable usage of the lagrangian trajectories module ')

variant('dbgstream',
default=False,
description='Enable usage of the debug stream module ')

# Optimization Features:
variant('loop-exchange', default=True, description='Enable loop exchange')
variant('vectorized-lrtm',
Expand Down Expand Up @@ -354,6 +362,8 @@ def configure_args(self):
'cuda-graphs',
'silent-rules',
'comin',
'lagtraj',
'dbgstream',
]:
args += self.enable_or_disable(x)

Expand Down

0 comments on commit 510b93c

Please sign in to comment.