Skip to content

Commit

Permalink
Upgrade rocksdb to 6.7.3 (vesoft-inc#1948)
Browse files Browse the repository at this point in the history
Co-authored-by: heng <heng.chen@vesoft.com>
Co-authored-by: yaphet <darion.wang@vesoft.com>
  • Loading branch information
3 people authored Mar 20, 2020
1 parent 499bbed commit 6bb3269
Showing 1 changed file with 3 additions and 4 deletions.
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

0 comments on commit 6bb3269

Please sign in to comment.