From 766c70c955a664b2bea0566cd29d8be2f89ba7b6 Mon Sep 17 00:00:00 2001 From: Peilun Li Date: Mon, 3 Apr 2023 16:31:11 +0800 Subject: [PATCH] Fix MacOS rocksdb compilation issue. --- Cargo.lock | 6 +++--- core/src/pos/storage/schemadb/Cargo.toml | 2 +- db/src/kvdb-rocksdb/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 52a1c90cce..e540bc4133 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3751,7 +3751,7 @@ checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb" [[package]] name = "librocksdb_sys" version = "0.1.0" -source = "git+https://github.com/Conflux-Chain/rust-rocksdb.git?rev=29c99ae9b7c26fc3e7e67523fa5007ba9b8a7f15#29c99ae9b7c26fc3e7e67523fa5007ba9b8a7f15" +source = "git+https://github.com/Conflux-Chain/rust-rocksdb.git?rev=a1ce5bd3322a7b732dfb300c2571dc4d99f1edae#a1ce5bd3322a7b732dfb300c2571dc4d99f1edae" dependencies = [ "bindgen", "bzip2-sys", @@ -3768,7 +3768,7 @@ dependencies = [ [[package]] name = "libtitan_sys" version = "0.0.1" -source = "git+https://github.com/Conflux-Chain/rust-rocksdb.git?rev=29c99ae9b7c26fc3e7e67523fa5007ba9b8a7f15#29c99ae9b7c26fc3e7e67523fa5007ba9b8a7f15" +source = "git+https://github.com/Conflux-Chain/rust-rocksdb.git?rev=a1ce5bd3322a7b732dfb300c2571dc4d99f1edae#a1ce5bd3322a7b732dfb300c2571dc4d99f1edae" dependencies = [ "bzip2-sys", "cc", @@ -5558,7 +5558,7 @@ dependencies = [ [[package]] name = "rocksdb" version = "0.3.0" -source = "git+https://github.com/Conflux-Chain/rust-rocksdb.git?rev=29c99ae9b7c26fc3e7e67523fa5007ba9b8a7f15#29c99ae9b7c26fc3e7e67523fa5007ba9b8a7f15" +source = "git+https://github.com/Conflux-Chain/rust-rocksdb.git?rev=a1ce5bd3322a7b732dfb300c2571dc4d99f1edae#a1ce5bd3322a7b732dfb300c2571dc4d99f1edae" dependencies = [ "libc", "librocksdb_sys", diff --git a/core/src/pos/storage/schemadb/Cargo.toml b/core/src/pos/storage/schemadb/Cargo.toml index 56172964fb..3cb234662c 100644 --- a/core/src/pos/storage/schemadb/Cargo.toml +++ b/core/src/pos/storage/schemadb/Cargo.toml @@ -18,7 +18,7 @@ diem-metrics = { path = "../../common/metrics" } [dependencies.rocksdb] git = "https://github.com/Conflux-Chain/rust-rocksdb.git" -rev = "29c99ae9b7c26fc3e7e67523fa5007ba9b8a7f15" +rev = "a1ce5bd3322a7b732dfb300c2571dc4d99f1edae" [dev-dependencies] byteorder = "1.4.3" diff --git a/db/src/kvdb-rocksdb/Cargo.toml b/db/src/kvdb-rocksdb/Cargo.toml index 8743a41692..8a40cc7d3f 100644 --- a/db/src/kvdb-rocksdb/Cargo.toml +++ b/db/src/kvdb-rocksdb/Cargo.toml @@ -27,4 +27,4 @@ tempdir = "0.3.7" [dependencies.rocksdb] git = "https://github.com/Conflux-Chain/rust-rocksdb.git" -rev = "29c99ae9b7c26fc3e7e67523fa5007ba9b8a7f15" +rev = "a1ce5bd3322a7b732dfb300c2571dc4d99f1edae"