Debian Codegraph @

thirdparty/folly/build/fbcode_builder/manifests/rocksdb

raw
1 [manifest]
2 name = rocksdb
3
4 [download]
5 url = https://github.com/facebook/rocksdb/archive/refs/tags/v7.7.3.tar.gz
6 sha256 = b8ac9784a342b2e314c821f6d701148912215666ac5e9bdbccd93cf3767cb611
7
8 [dependencies]
9 lz4
10 snappy
11
12 [build]
13 builder = cmake
14 subdir = rocksdb-7.7.3
15
16 [cmake.defines]
17 WITH_SNAPPY=ON
18 WITH_LZ4=ON
19 WITH_TESTS=OFF
20 WITH_BENCHMARK_TOOLS=OFF
21 # We get relocation errors with the static gflags lib,
22 # and there's no clear way to make it pick the shared gflags
23 # so just turn it off.
24 WITH_GFLAGS=OFF
25 # mac pro machines don't have some of the newer features that
26 # rocksdb enables by default; ask it to disable their use even
27 # when building on new hardware
28 PORTABLE = ON
29 # Disable the use of -Werror
30 FAIL_ON_WARNINGS = OFF
31
32 [cmake.defines.os=windows]
33 ROCKSDB_INSTALL_ON_WINDOWS=ON
34 # RocksDB hard codes the paths to the snappy libs to something
35 # that doesn't exist; ignoring the usual cmake rules. As a result,
36 # we can't build it with snappy without either patching rocksdb or
37 # without introducing more complex logic to the build system to
38 # connect the snappy build outputs to rocksdb's custom logic here.
39 # Let's just turn it off on windows.
40 WITH_SNAPPY=OFF
41 WITH_LZ4=ON
42 ROCKSDB_SKIP_THIRDPARTY=ON