Commit 5060d530 authored by follitude's avatar follitude Committed by ShuYu Wang

Update RocksDB v5.5.1 (#79)

parent 72473cd6
...@@ -46,9 +46,9 @@ dependencies: ...@@ -46,9 +46,9 @@ dependencies:
if [[ ! -e $HOME/.local/lib/librocksdb.so ]]; then if [[ ! -e $HOME/.local/lib/librocksdb.so ]]; then
export CPLUS_INCLUDE_PATH="${LOCAL_PREFIX}/include" && \ export CPLUS_INCLUDE_PATH="${LOCAL_PREFIX}/include" && \
cd /tmp && \ cd /tmp && \
curl -L https://github.com/facebook/rocksdb/archive/v5.4.5.tar.gz -o rocksdb.tar.gz && \ curl -L https://github.com/facebook/rocksdb/archive/v5.5.1.tar.gz -o rocksdb.tar.gz && \
tar xf rocksdb.tar.gz && \ tar xf rocksdb.tar.gz && \
cd rocksdb-5.4.5 && \ cd rocksdb-5.5.1 && \
INSTALL_PATH=${LOCAL_PREFIX} make -j install-shared; INSTALL_PATH=${LOCAL_PREFIX} make -j install-shared;
fi fi
post: post:
......
...@@ -124,11 +124,11 @@ function compile_rocksdb() { ...@@ -124,11 +124,11 @@ function compile_rocksdb() {
return return
fi fi
version=v5.4.5 version=v5.5.1
vernum=5.4.5 vernum=5.5.1
echo building rocksdb-$version echo building rocksdb-$version
rm -rf rocksdb-$vernum rm -rf rocksdb-$vernum
download https://github.com/facebook/rocksdb/archive/$version.tar.gz rocksdb-$version.tar.gz 5f07eca94039900c0c23b95a8fb91e59 download https://github.com/facebook/rocksdb/archive/$version.tar.gz rocksdb-$version.tar.gz c1ba5fbdccb6967c0705ec7719061eb2
tar xf rocksdb-$version.tar.gz tar xf rocksdb-$version.tar.gz
wd=`pwd` wd=`pwd`
cd rocksdb-$vernum cd rocksdb-$vernum
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment