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