Added variant to enable Legion SPY logging. (#17637)
This commit is contained in:
parent
b8135bd205
commit
4ca6d1f0f7
@ -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 @@ def cmake_args(self):
|
||||
else:
|
||||
options.append('-DLegion_USE_HDF5=OFF')
|
||||
|
||||
if '+spy' in self.spec:
|
||||
options.append('-DLegion_SPY=ON')
|
||||
|
||||
return options
|
||||
|
Loading…
Reference in New Issue
Block a user