Disable lz4, zstd and snappy libraries for rocksdb

Reviewers: buda, dgleich, msantl

Reviewed By: buda

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1383
This commit is contained in:
Teon Banek 2018-04-30 11:21:11 +02:00
parent 96c413fe45
commit 43d5980ff3

View File

@ -196,7 +196,10 @@ import_external_library(rocksdb STATIC
# That's the reason why NoOps (true) are used as configure
# and install commands. Build command uses RocksDB's Makefile.
CONFIGURE_COMMAND true
BUILD_COMMAND make -C ${CMAKE_CURRENT_SOURCE_DIR}/rocksdb static_lib
BUILD_COMMAND ROCKSDB_DISABLE_LZ4=1
ROCKSDB_DISABLE_ZSTD=1
ROCKSDB_DISABLE_SNAPPY=1
make -C ${CMAKE_CURRENT_SOURCE_DIR}/rocksdb static_lib
-j${NPROC}
CC=${CMAKE_C_COMPILER}
CXX=${CMAKE_CXX_COMPILER}