Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade rocksdb to 6.7.3 #1948

Merged
merged 2 commits into from
Mar 20, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions third-party/externals/rocksdb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ set(source_dir ${CMAKE_CURRENT_BINARY_DIR}/${name}/source)
set(ROCKSDB_CXX_FLAGS "-Wno-pessimizing-move -Wno-redundant-move -Wno-deprecated-copy -Wno-error=shadow -Wno-error=sign-compare")
ExternalProject_Add(
${name}
URL https://github.com/facebook/rocksdb/archive/v5.15.10.tar.gz
URL_HASH MD5=5b1c1fa7ff4756218514205238d8900d
DOWNLOAD_NAME rocksdb-5.15.10.tar.gz
URL https://github.com/facebook/rocksdb/archive/v6.7.3.tar.gz
URL_HASH MD5=e8157696557ed80ab30c443321866f04
DOWNLOAD_NAME rocksdb-6.7.3.tar.gz
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/${name}
TMP_DIR ${BUILD_INFO_DIR}
STAMP_DIR ${BUILD_INFO_DIR}
Expand All @@ -31,7 +31,6 @@ ExternalProject_Add(
-DFAIL_ON_WARNINGS=OFF
-DCMAKE_BUILD_TYPE=Release
#-DCMAKE_CXX_FLAGS:STRING=${ROCKSDB_CXX_FLAGS}
PATCH_COMMAND patch CMakeLists.txt ${CMAKE_SOURCE_DIR}/patches/rocksdb-5.15.10.patch
BUILD_IN_SOURCE 1
BUILD_COMMAND make -s -j${BUILDING_JOBS_NUM} VERBOSE=1
INSTALL_COMMAND make -s install -j${BUILDING_JOBS_NUM}
Expand Down