c-blosc: Add variants to disable building tests and benchmarks (#15789)
* Add variants to disable building tests and benchmarks * Flake8 * Update package.py * Update package.py * Update package.py
This commit is contained in:
parent
1f6f395337
commit
144557e945
@ -50,6 +50,13 @@ def cmake_args(self):
|
||||
args.append('-DPREFER_EXTERNAL_ZSTD=ON')
|
||||
args.append('-DPREFER_EXTERNAL_LZ4=ON')
|
||||
|
||||
if self.run_tests:
|
||||
args.append('-DBUILD_TESTS=ON')
|
||||
args.append('-DBUILD_BENCHMARKS=ON')
|
||||
else:
|
||||
args.append('-DBUILD_TESTS=OFF')
|
||||
args.append('-DBUILD_BENCHMARKS=OFF')
|
||||
|
||||
return args
|
||||
|
||||
@run_after('install')
|
||||
|
Loading…
Reference in New Issue
Block a user