Commit e2a50c47 authored by goroutine's avatar goroutine Committed by GitHub

Merge pull request #75 from BusyJay/busyjay/upgrade-rocksdb

upgrade rocksdb to 5.0.1
parents 21516f6f ce11ae9e
...@@ -32,7 +32,6 @@ fn main() { ...@@ -32,7 +32,6 @@ fn main() {
// only linux and apple support static link right now // only linux and apple support static link right now
return; return;
} }
println!("cargo:rerun-if-changed=build.sh");
let dst = PathBuf::from(env::var_os("OUT_DIR").unwrap()); let dst = PathBuf::from(env::var_os("OUT_DIR").unwrap());
let build = dst.join("build"); let build = dst.join("build");
......
...@@ -106,11 +106,11 @@ function compile_rocksdb() { ...@@ -106,11 +106,11 @@ function compile_rocksdb() {
return return
fi fi
version=v4.13.5 version=v5.0.1
vernum=4.13.5 vernum=5.0.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 637427680364dd438f5305e974248a01 download https://github.com/facebook/rocksdb/archive/$version.tar.gz rocksdb-$version.tar.gz e5443504b430c71c04f19f13ebc89a4b
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