foundationdb/cmake/RocksDBVersion.cmake

31 lines
1.5 KiB
CMake

# RocksDB Version Configuration
# ==============================
# Edit this file to change the RocksDB version used by FDB.
#
# Choose ONE of the two options below by uncommenting the appropriate section.
# Do NOT set both - CMake will error if both are configured.
#
# CMake will automatically generate fdbserver/core/include/fdbserver/core/FDBRocksDBVersion.h
# based on the version specified here. Do NOT edit that file manually.
#
# To get SHA256:
# curl -sL https://github.com/facebook/rocksdb/archive/<ref>.tar.gz | sha256sum
# (where <ref> is either a version tag like "v9.7.3" or a commit hash)
###############################################################################
# OPTION 1: RocksDB Release Number
# If you use this option, make sure Option 2 below is commented out.
###############################################################################
set(ROCKSDB_VERSION "9.7.3")
set(ROCKSDB_VERSION_SHA256 "acfabb989cbfb5b5c4d23214819b059638193ec33dad2d88373c46448d16d38b")
###############################################################################
# OPTION 2: RocksDB Git Commit Hash
# If you use this option, make sure Option 1 above is commented out.
#
# Note: CMake will auto-fetch the version from GitHub at configure time.
# This requires network access during cmake configure.
###############################################################################
# set(ROCKSDB_GIT_HASH "2732f118497ab75cd2e44bc327746be180b42dcf")
# set(ROCKSDB_GIT_HASH_SHA256 "5f0dd06680c0bf302abb9bc70b4698fdcd0d5623c7264c8b3af7a1fe4f8b3078")