mercury variant to control checksumming feature (#21467)
This commit is contained in:
parent
121e55832a
commit
b54e9b0b31
1 changed files with 3 additions and 1 deletions
|
@ -39,6 +39,8 @@ class Mercury(CMakePackage):
|
|||
description='Enable udreg on supported Cray platforms')
|
||||
variant('debug', default=False,
|
||||
description='Enable Mercury to print debug output')
|
||||
variant('checksum', default=True,
|
||||
description='Checksum verify all request/response messages')
|
||||
|
||||
depends_on('cmake@2.8.12.2:', type='build')
|
||||
# depends_on('cci', when='+cci') # TODO: add CCI package
|
||||
|
@ -67,7 +69,7 @@ def cmake_args(self):
|
|||
'-DBUILD_TESTING:BOOL=%s' % str(self.run_tests),
|
||||
'-DMERCURY_ENABLE_PARALLEL_TESTING:BOOL=%s' % str(parallel_tests),
|
||||
'-DMERCURY_USE_BOOST_PP:BOOL=ON',
|
||||
'-DMERCURY_USE_CHECKSUMS:BOOL=ON',
|
||||
'-DMERCURY_USE_CHECKSUMS:BOOL=%s' % variant_bool('+checksum'),
|
||||
'-DMERCURY_USE_SYSTEM_MCHECKSUM:BOOL=OFF',
|
||||
'-DMERCURY_USE_XDR:BOOL=OFF',
|
||||
'-DNA_USE_BMI:BOOL=%s' % variant_bool('+bmi'),
|
||||
|
|
Loading…
Reference in a new issue