Commit 378704c authored Mar 12, 2022 Verified
1 parent e3da57d commit 378704c Copy full SHA for 378704c
File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,9 @@ Kvrocks has the following key features:
53
53
# Centos/Redhat
54
54
sudo yum install -y epel-release && sudo yum install -y git gcc gcc-c++ make snappy snappy-devel autoconf automake libtool which gtest gtest-devel
55
55
56
- # Ubuntu
57
- sudo apt-get install gcc g++ make libsnappy-dev autoconf automake libtool which libgtest-dev
56
+ # Ubuntu/Debian
57
+ sudo apt update
58
+ sudo apt-get install gcc g++ make libsnappy-dev autoconf automake libtool
58
59
59
60
# MACOSX
60
61
brew install autoconf automake libtool snappy googletest
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ if (NOT __ROCKSDB_INCLUDED)
16
16
set (ROCKSDB_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ROCKSDB_EXTRA_COMPILER_FLAGS} " )
17
17
set (ROCKSDB_C_FLAGS "${CMAKE_C_FLAGS} ${ROCKSDB_EXTRA_COMPILER_FLAGS} " )
18
18
if (NOT DISABLE_JEMALLOC)
19
- set (ROCKSDB_DEPENDS "jemalloc snappy" )
19
+ list (APPEND rocksdb_DEPENDS jemalloc)
20
+ list (APPEND rocksdb_DEPENDS snappy)
20
21
set (JEMALLOC_ROOT_DIR ${jemalloc_INSTALL} )
21
22
else ()
22
23
set (rocksdb_DEPENDS "snappy" )
You can’t perform that action at this time.
0 commit comments