Skip to content

Commit

Permalink
fix eden fs build with GCC 13.2.1
Browse files Browse the repository at this point in the history
Summary:
X-link: facebookincubator/velox#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: facebook/sapling#748

Reviewed By: mitrandir77

Differential Revision: D50313436

Pulled By: genevievehelsel

fbshipit-source-id: 970227f29641768c8314aa0537654470d097d7bf
  • Loading branch information
ahornby authored and facebook-github-bot committed Nov 22, 2023
1 parent 4af3d05 commit f1f0a0d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions build/fbcode_builder/manifests/rocksdb
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
name = rocksdb

[download]
url = https://github.com/facebook/rocksdb/archive/refs/tags/v7.7.3.tar.gz
sha256 = b8ac9784a342b2e314c821f6d701148912215666ac5e9bdbccd93cf3767cb611
url = https://github.com/facebook/rocksdb/archive/refs/tags/v8.7.3.zip
sha256 = 36c06b61dc167f2455990d60dd88d734b73aa8c4dfc095243efd0243834c6cd3

[dependencies]
lz4
snappy

[build]
builder = cmake
subdir = rocksdb-7.7.3
subdir = rocksdb-8.7.3

[cmake.defines]
WITH_SNAPPY=ON
Expand All @@ -22,10 +22,6 @@ WITH_BENCHMARK_TOOLS=OFF
# 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
# Disable the use of -Werror
FAIL_ON_WARNINGS = OFF

Expand Down

0 comments on commit f1f0a0d

Please sign in to comment.