leveldb: turning benchmark and tests off (#41518)
This commit is contained in:
parent
64cd429cc8
commit
53493ceab1
@ -70,10 +70,11 @@ def cmake_args(self):
|
||||
else:
|
||||
args.append("-DBUILD_SHARED_LIBS=OFF")
|
||||
|
||||
# The tarball is missing the benchmark and test submodules
|
||||
if self.spec.satisfies("@1.23:"):
|
||||
args.append("-DLEVELDB_BUILD_BENCHMARKS=OFF")
|
||||
args.append("-DLEVELDB_BUILD_TESTS=OFF")
|
||||
# 1.23 tarball is missing the benchmark and test submodules
|
||||
# and for older versions, some compilers fail to compile the
|
||||
# benchmarks
|
||||
args.append("-DLEVELDB_BUILD_BENCHMARKS=OFF")
|
||||
args.append("-DLEVELDB_BUILD_TESTS=OFF")
|
||||
|
||||
return args
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user