Commit 6156dc3d authored by Chad Austin's avatar Chad Austin Committed by Facebook Github Bot

enable lz4 in the getdeps build of rocksdb

Summary:
The Buck build of RocksDB supports LZ4, so if an Eden instance's
object cache ends up compressed with LZ4 compression, the opensource
getdeps build cannot open it. Enable LZ4 in the open source getdeps
build of rocksdb.

Reviewed By: pkaush

Differential Revision: D19961878

fbshipit-source-id: 9a4f37e12bd2b40a0c5dcf2dd1684876886fae26
parent 95c7d18c
...@@ -6,6 +6,7 @@ url = https://github.com/facebook/rocksdb/archive/v5.18.3.tar.gz ...@@ -6,6 +6,7 @@ url = https://github.com/facebook/rocksdb/archive/v5.18.3.tar.gz
sha256 = 7fb6738263d3f2b360d7468cf2ebe333f3109f3ba1ff80115abd145d75287254 sha256 = 7fb6738263d3f2b360d7468cf2ebe333f3109f3ba1ff80115abd145d75287254
[dependencies] [dependencies]
lz4
snappy snappy
[build] [build]
...@@ -14,6 +15,7 @@ subdir = rocksdb-5.18.3 ...@@ -14,6 +15,7 @@ subdir = rocksdb-5.18.3
[cmake.defines] [cmake.defines]
WITH_SNAPPY=ON WITH_SNAPPY=ON
WITH_LZ4=ON
WITH_TESTS=OFF WITH_TESTS=OFF
# We get relocation errors with the static gflags lib, # We get relocation errors with the static gflags lib,
# and there's no clear way to make it pick the shared gflags # and there's no clear way to make it pick the shared gflags
...@@ -35,4 +37,4 @@ ROCKSDB_INSTALL_ON_WINDOWS=ON ...@@ -35,4 +37,4 @@ ROCKSDB_INSTALL_ON_WINDOWS=ON
# connect the snappy build outputs to rocksdb's custom logic here. # connect the snappy build outputs to rocksdb's custom logic here.
# Let's just turn it off on windows. # Let's just turn it off on windows.
WITH_SNAPPY=OFF WITH_SNAPPY=OFF
WITH_LZ4=OFF
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment