5 url = https://github.com/facebook/rocksdb/archive/refs/tags/v7.0.2.tar.gz
6 sha256 = d808c87074aef7a4ea8e329b1b3de718a95cf2895dbe606036d75e66af10d05a
14 subdir = rocksdb-7.0.2
15 patchfile = rocksdb_skip_thirdparty_windows.patch
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.
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
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.
43 ROCKSDB_SKIP_THIRDPARTY=ON