From 9699293bfcbe2ccc3310ece67a8da7b3862c614d Mon Sep 17 00:00:00 2001 From: web3-developer <51288821+web3-developer@users.noreply.github.com> Date: Fri, 16 Aug 2024 14:23:04 +0800 Subject: [PATCH] Update nim-rocksdb to latest version and cleanup outdated RocksDb install instructions in readme. (#2566) --- README.md | 28 +--------------------------- vendor/nim-rocksdb | 2 +- 2 files changed, 2 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 0080cd5a6..0f9f0e8f1 100644 --- a/README.md +++ b/README.md @@ -43,27 +43,8 @@ For more detailed write-ups on the development progress, follow the ### Prerequisites -* [RocksDB](https://github.com/facebook/rocksdb/) * GNU Make, Bash and the usual POSIX utilities. Git 2.9.4 or newer. -On Windows, a precompiled DLL collection download is available through the `fetch-dlls` Makefile target: ([Windows instructions](#windows)). - -```bash -# MacOS with Homebrew -brew install rocksdb - -# Fedora -dnf install rocksdb-devel - -# Debian and Ubuntu -sudo apt-get install librocksdb-dev - -# Arch (AUR) -pakku -S rocksdb -``` - -`rocksdb` can also be installed by following [their instructions](https://github.com/facebook/rocksdb/blob/master/INSTALL.md). - #### Obtaining the prerequisites through the Nix package manager *Experimental* @@ -174,13 +155,6 @@ sudo apt-get install git libgflags-dev libsnappy-dev mkdir status cd status -# Install rocksdb -git clone https://github.com/facebook/rocksdb.git -cd rocksdb -make shared_lib -sudo make install -cd.. - # Raspberry pi doesn't include /usr/local/lib in library search path - need to add export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH @@ -205,7 +179,7 @@ Note, the Ubuntu PRoot is known to contain all Nimbus prerequisites compiled on ```bash # Install prerequisites -apt install git make gcc librocksdb-dev +apt install git make gcc # Clone repo and build Nimbus just like above git clone https://github.com/status-im/nimbus.git diff --git a/vendor/nim-rocksdb b/vendor/nim-rocksdb index 965029e39..2ae39ceb6 160000 --- a/vendor/nim-rocksdb +++ b/vendor/nim-rocksdb @@ -1 +1 @@ -Subproject commit 965029e3952a27dfac7db8ee82124dd815d266f7 +Subproject commit 2ae39ceb664791a7e121d374e70a06cc59fe04ce