Skip to content

Commit

Permalink
Merge pull request rust-rocksdb#75 from BusyJay/busyjay/upgrade-rocksdb
Browse files Browse the repository at this point in the history
upgrade rocksdb to 5.0.1
  • Loading branch information
ngaut committed Jan 7, 2017
2 parents 21516f6 + ce11ae9 commit e2a50c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion librocksdb_sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ 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");
Expand Down
6 changes: 3 additions & 3 deletions librocksdb_sys/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ function compile_rocksdb() {
return
fi

version=v4.13.5
vernum=4.13.5
version=v5.0.1
vernum=5.0.1
echo building rocksdb-$version
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
wd=`pwd`
cd rocksdb-$vernum
Expand Down

0 comments on commit e2a50c4

Please sign in to comment.