Commit b95e696f authored by zhangjinpeng1987's avatar zhangjinpeng1987 Committed by GitHub

upgrade rocksdb to 5.6.2 (#115)

parent a302dfb3
...@@ -43,12 +43,12 @@ dependencies: ...@@ -43,12 +43,12 @@ dependencies:
fi fi
- make -f travis-build/Makefile prepare-rustfmt - make -f travis-build/Makefile prepare-rustfmt
- | - |
if [[ ! -e $HOME/.local/lib/librocksdb.so.5.6.1 ]]; then if [[ ! -e $HOME/.local/lib/librocksdb.so.5.6.2 ]]; 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.6.1.tar.gz -o rocksdb.tar.gz && \ curl -L https://github.com/facebook/rocksdb/archive/v5.6.2.tar.gz -o rocksdb.tar.gz && \
tar xf rocksdb.tar.gz && \ tar xf rocksdb.tar.gz && \
cd rocksdb-5.6.1 && \ cd rocksdb-5.6.2 && \
INSTALL_PATH=${LOCAL_PREFIX} make -j 1 install-shared; INSTALL_PATH=${LOCAL_PREFIX} make -j 1 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.6.1 version=v5.6.2
vernum=5.6.1 vernum=5.6.2
echo building rocksdb-$version echo building rocksdb-$version
rm -rf rocksdb rocksdb-$vernum rm -rf rocksdb rocksdb-$vernum
download https://github.com/facebook/rocksdb/archive/$version.tar.gz rocksdb-$version.tar.gz 51ad34cbe2d161c3be8aa16a5ad81c3d download https://github.com/facebook/rocksdb/archive/$version.tar.gz rocksdb-$version.tar.gz c8c7af9f9f22b33f8762645d12ec1711
tar xf rocksdb-$version.tar.gz tar xf rocksdb-$version.tar.gz
wd=`pwd` wd=`pwd`
mv rocksdb-$vernum rocksdb mv rocksdb-$vernum rocksdb
......
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