diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/legion/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/legion/package.py b/var/spack/repos/builtin/packages/legion/package.py index cac38dd030..f98e48e187 100644 --- a/var/spack/repos/builtin/packages/legion/package.py +++ b/var/spack/repos/builtin/packages/legion/package.py @@ -47,6 +47,8 @@ class Legion(CMakePackage): description='Build on top of ibv conduit for InfiniBand support') variant('shared', default=True, description='Build shared libraries') variant('hdf5', default=True, description='Enable HDF5 support') + variant('spy', default=False, + description='Enable detailed logging for Legion Spy') variant('build_type', default='Release', values=('Debug', 'Release', 'RelWithDebInfo', 'MinSizeRel'), description='The build type to build', multi=False) @@ -87,4 +89,7 @@ class Legion(CMakePackage): else: options.append('-DLegion_USE_HDF5=OFF') + if '+spy' in self.spec: + options.append('-DLegion_SPY=ON') + return options |