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:
|
else:
|
||||||
args.append("-DBUILD_SHARED_LIBS=OFF")
|
args.append("-DBUILD_SHARED_LIBS=OFF")
|
||||||
|
|
||||||
# The tarball is missing the benchmark and test submodules
|
# 1.23 tarball is missing the benchmark and test submodules
|
||||||
if self.spec.satisfies("@1.23:"):
|
# and for older versions, some compilers fail to compile the
|
||||||
args.append("-DLEVELDB_BUILD_BENCHMARKS=OFF")
|
# benchmarks
|
||||||
args.append("-DLEVELDB_BUILD_TESTS=OFF")
|
args.append("-DLEVELDB_BUILD_BENCHMARKS=OFF")
|
||||||
|
args.append("-DLEVELDB_BUILD_TESTS=OFF")
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user