package/leveldb: disable benchmarks and tests
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 27 Dec 2019 09:39:59 +0000 (10:39 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 7 Jan 2020 20:23:55 +0000 (21:23 +0100)
Benchmarks and tests are enabled by default and benchmarks optionally
depend on sqlite

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/leveldb/leveldb.mk

index 5baf56c7184d025395d1231dbcc442ff51c23761..5f5288be1c390c8b5fad9f45bd8aa07dcd02cba4 100644 (file)
@@ -10,6 +10,9 @@ LEVELDB_LICENSE = BSD-3-Clause
 LEVELDB_LICENSE_FILES = LICENSE
 LEVELDB_INSTALL_STAGING = YES
 LEVELDB_DEPENDENCIES = snappy
+LEVELDB_CONF_OPTS = \
+       -DLEVELDB_BUILD_BENCHMARKS=OFF \
+       -DLEVELDB_BUILD_TESTS=OFF
 
 ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
 LEVELDB_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic