Update to RocksDB 8.3.2 (#796)

master
Niklas Fiekas 1 year ago committed by GitHub
parent 023f8298ca
commit c62c8c248d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      librocksdb-sys/Cargo.toml
  2. 5
      librocksdb-sys/build.rs
  3. 8
      librocksdb-sys/build_version.cc
  4. 2
      librocksdb-sys/rocksdb

@ -1,6 +1,6 @@
[package]
name = "librocksdb-sys"
version = "0.11.0+8.1.1"
version = "0.11.0+8.3.2"
edition = "2018"
rust-version = "1.60"
authors = ["Karl Hobley <karlhobley10@gmail.com>", "Arkadiy Paronyan <arkadiy@ethcore.io>"]

@ -118,24 +118,19 @@ fn build_rocksdb() {
}
if target_features.contains(&"sse4.2") {
config.flag_if_supported("-msse4.2");
config.define("HAVE_SSE42", Some("1"));
}
// Pass along additional target features as defined in
// build_tools/build_detect_platform.
if target_features.contains(&"avx2") {
config.flag_if_supported("-mavx2");
config.define("HAVE_AVX2", Some("1"));
}
if target_features.contains(&"bmi1") {
config.flag_if_supported("-mbmi");
config.define("HAVE_BMI", Some("1"));
}
if target_features.contains(&"lzcnt") {
config.flag_if_supported("-mlzcnt");
config.define("HAVE_LZCNT", Some("1"));
}
if !target.contains("android") && target_features.contains(&"pclmulqdq") {
config.define("HAVE_PCLMUL", Some("1"));
config.flag_if_supported("-mpclmul");
}
}

@ -8,17 +8,17 @@
// The build script may replace these values with real values based
// on whether or not GIT is available and the platform settings
static const std::string rocksdb_build_git_sha = "6a436150417120a3f9732d65a2a5c2b8d19b60fc";
static const std::string rocksdb_build_git_tag = "rocksdb_build_git_tag:v8.1.1";
static const std::string rocksdb_build_git_sha = "3f7c92b9753b697ce6a5ea737086d2751f17956c";
static const std::string rocksdb_build_git_tag = "rocksdb_build_git_tag:v8.3.2";
#define HAS_GIT_CHANGES 0
#if HAS_GIT_CHANGES == 0
// If HAS_GIT_CHANGES is 0, the GIT date is used.
// Use the time the branch/tag was last modified
static const std::string rocksdb_build_date = "rocksdb_build_date:2023-04-06 16:38:52";
static const std::string rocksdb_build_date = "rocksdb_build_date:2023-06-15 05:32:14";
#else
// If HAS_GIT_CHANGES is > 0, the branch/tag has modifications.
// Use the time the build was created.
static const std::string rocksdb_build_date = "rocksdb_build_date:2023-04-06 16:38:52";
static const std::string rocksdb_build_date = "rocksdb_build_date:2023-06-15 05:32:14";
#endif
std::unordered_map<std::string, ROCKSDB_NAMESPACE::RegistrarFunc> ROCKSDB_NAMESPACE::ObjectRegistry::builtins_ = {};

@ -1 +1 @@
Subproject commit 6a436150417120a3f9732d65a2a5c2b8d19b60fc
Subproject commit 3f7c92b9753b697ce6a5ea737086d2751f17956c
Loading…
Cancel
Save