Commit 72f8911b authored by Jay Lee's avatar Jay Lee

update rocksdb to 4.13.5

parent f5a45559
......@@ -17,6 +17,7 @@ fn main() {
// only linux and apple support static link right now
return;
}
println!("cargo:rerun-if-changed=build.sh");
let dst = PathBuf::from(env::var_os("OUT_DIR").unwrap());
let build = dst.join("build");
......@@ -35,6 +36,9 @@ fn main() {
if *lib == "rocksdb" && src.exists() {
fs::remove_dir_all(&src).unwrap();
if dst.exists() {
fs::remove_file(&dst).unwrap();
}
}
if !src.exists() {
......
......@@ -106,11 +106,11 @@ function compile_rocksdb() {
return
fi
version=165cec6ef668efc075337d10eafca95e28b29c4c
vernum=165cec6ef668efc075337d10eafca95e28b29c4c
version=v4.13.5
vernum=4.13.5
echo building rocksdb-$version
rm -rf rocksdb-$vernum
download https://github.com/facebook/rocksdb/archive/$version.tar.gz rocksdb-$version.tar.gz 49d7dfa4b9ff05834d72b00391928413
download https://github.com/facebook/rocksdb/archive/$version.tar.gz rocksdb-$version.tar.gz 637427680364dd438f5305e974248a01
tar xf rocksdb-$version.tar.gz
wd=`pwd`
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