1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-09-11 12:30:43 +03:00
Files
Alex Hornby f1f0a0dd04 fix eden fs build with GCC 13.2.1
Summary:
X-link: https://github.com/facebookincubator/velox/pull/7070

fix eden fs build with GCC 13.2.1

Fixing two problems that broke builds on Fedora 38, which comes with GCC 13.2.1

   * GCC 13.2.1 can't build the old rocksdb, so update the version
   * there was a missing include in BackingStoreType.h

X-link: https://github.com/facebook/sapling/pull/748

Reviewed By: mitrandir77

Differential Revision: D50313436

Pulled By: genevievehelsel

fbshipit-source-id: 970227f29641768c8314aa0537654470d097d7bf
2023-11-21 20:33:33 -08:00

39 lines
1.0 KiB
Plaintext

[manifest]
name = rocksdb
[download]
url = https://github.com/facebook/rocksdb/archive/refs/tags/v8.7.3.zip
sha256 = 36c06b61dc167f2455990d60dd88d734b73aa8c4dfc095243efd0243834c6cd3
[dependencies]
lz4
snappy
[build]
builder = cmake
subdir = rocksdb-8.7.3
[cmake.defines]
WITH_SNAPPY=ON
WITH_LZ4=ON
WITH_TESTS=OFF
WITH_BENCHMARK_TOOLS=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
# Disable the use of -Werror
FAIL_ON_WARNINGS = OFF
[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
WITH_LZ4=ON
ROCKSDB_SKIP_THIRDPARTY=ON