Update nim-rocksdb to latest version and cleanup outdated RocksDb install instructions in readme. (#2566)
This commit is contained in:
parent
43d93bcdab
commit
9699293bfc
28
README.md
28
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
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 965029e3952a27dfac7db8ee82124dd815d266f7
|
||||
Subproject commit 2ae39ceb664791a7e121d374e70a06cc59fe04ce
|
Loading…
Reference in New Issue