Commit 1bb369b6 authored by Shuai Li's avatar Shuai Li Committed by siddontang

update rocksdb to 5.7.3 (#125)

parent 115af1a3
......@@ -42,12 +42,12 @@ dependencies:
fi
- make -f travis-build/Makefile prepare-rustfmt
- |
if [[ ! -e $HOME/.local/lib/librocksdb.so.5.6.2 ]]; then
if [[ ! -e $HOME/.local/lib/librocksdb.so.5.7.3 ]]; then
export CPLUS_INCLUDE_PATH="${LOCAL_PREFIX}/include" && \
cd /tmp && \
curl -L https://github.com/facebook/rocksdb/archive/v5.6.2.tar.gz -o rocksdb.tar.gz && \
curl -L https://github.com/facebook/rocksdb/archive/v5.7.3.tar.gz -o rocksdb.tar.gz && \
tar xf rocksdb.tar.gz && \
cd rocksdb-5.6.2 && \
cd rocksdb-5.7.3 && \
INSTALL_PATH=${LOCAL_PREFIX} make -j 1 install-shared;
fi
post:
......
......@@ -124,11 +124,11 @@ function compile_rocksdb() {
return
fi
version=v5.6.2
vernum=5.6.2
version=v5.7.3
vernum=5.7.3
echo building rocksdb-$version
rm -rf rocksdb rocksdb-$vernum
download https://github.com/facebook/rocksdb/archive/$version.tar.gz rocksdb-$version.tar.gz c8c7af9f9f22b33f8762645d12ec1711
download https://github.com/facebook/rocksdb/archive/$version.tar.gz rocksdb-$version.tar.gz 539d606dc532ebc2e823a62a064e6be8
tar xf rocksdb-$version.tar.gz
wd=`pwd`
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