mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
Document cleanse of build artifacts (#1014)
Fixes: https://github.com/romanz/electrs/issues/1001
This commit is contained in:
parent
98b0754d95
commit
1d249edc10
@ -5,8 +5,8 @@
|
||||
|
||||
```bash
|
||||
$ sudo apt update
|
||||
$ sudo apt install -y clang cmake build-essential git cargo
|
||||
$ git clone https://github.com/romanz/electrs
|
||||
$ sudo apt install -y clang cmake build-essential git cargo
|
||||
$ git clone https://github.com/romanz/electrs
|
||||
$ cd electrs
|
||||
$ cargo build --locked --release
|
||||
$ ./target/release/electrs --version # should print the latest version
|
||||
@ -206,6 +206,11 @@ Relevant issues: [#134](https://github.com/romanz/electrs/issues/134) and [#391]
|
||||
|
||||
#### Dynamic linking
|
||||
|
||||
Note that if you have previously done a static linking build, it is recommended to clean the build artifacts to avoid build errors (e.g. https://github.com/romanz/electrs/issues/1001):
|
||||
```
|
||||
$ cargo clean
|
||||
```
|
||||
|
||||
```
|
||||
$ ROCKSDB_INCLUDE_DIR=/usr/include ROCKSDB_LIB_DIR=/usr/lib cargo build --locked --release
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user