2019-05-04 01:52:37 +03:00
|
|
|
[manifest]
|
|
|
|
name = rocksdb
|
|
|
|
|
|
|
|
[download]
|
|
|
|
url = https://github.com/facebook/rocksdb/archive/v5.18.3.tar.gz
|
|
|
|
sha256 = 7fb6738263d3f2b360d7468cf2ebe333f3109f3ba1ff80115abd145d75287254
|
|
|
|
|
|
|
|
[dependencies]
|
2020-02-20 02:49:59 +03:00
|
|
|
lz4
|
2019-05-04 01:52:37 +03:00
|
|
|
snappy
|
|
|
|
|
|
|
|
[build]
|
|
|
|
builder = cmake
|
|
|
|
subdir = rocksdb-5.18.3
|
|
|
|
|
|
|
|
[cmake.defines]
|
|
|
|
WITH_SNAPPY=ON
|
2020-02-20 02:49:59 +03:00
|
|
|
WITH_LZ4=ON
|
2019-05-04 01:52:37 +03:00
|
|
|
WITH_TESTS=OFF
|
|
|
|
# We get relocation errors with the static gflags lib,
|
|
|
|
# and there's no clear way to make it pick the shared gflags
|
|
|
|
# so just turn it off.
|
|
|
|
WITH_GFLAGS=OFF
|
|
|
|
# mac pro machines don't have some of the newer features that
|
|
|
|
# rocksdb enables by default; ask it to disable their use even
|
|
|
|
# when building on new hardware
|
|
|
|
PORTABLE = ON
|
2019-12-04 02:06:06 +03:00
|
|
|
# Disable the use of -Werror
|
|
|
|
FAIL_ON_WARNINGS = OFF
|
2019-05-04 01:52:37 +03:00
|
|
|
|
|
|
|
[cmake.defines.os=windows]
|
|
|
|
ROCKSDB_INSTALL_ON_WINDOWS=ON
|
|
|
|
# RocksDB hard codes the paths to the snappy libs to something
|
|
|
|
# that doesn't exist; ignoring the usual cmake rules. As a result,
|
|
|
|
# we can't build it with snappy without either patching rocksdb or
|
|
|
|
# without introducing more complex logic to the build system to
|
|
|
|
# connect the snappy build outputs to rocksdb's custom logic here.
|
|
|
|
# Let's just turn it off on windows.
|
|
|
|
WITH_SNAPPY=OFF
|
2020-02-20 02:49:59 +03:00
|
|
|
WITH_LZ4=OFF
|