mirror of
https://github.com/matrix-construct/construct
synced 2024-12-01 19:22:53 +01:00
doc: Update BUILD instructions. [ci skip]
This commit is contained in:
parent
36d9dbf0af
commit
0a1eb9fa82
1 changed files with 10 additions and 7 deletions
17
doc/BUILD.md
17
doc/BUILD.md
|
@ -9,14 +9,11 @@ made their way to mainstream systems. Important notes that may affect you:
|
||||||
Ubuntu Cosmic (18.10). All earlier releases (including 18.04 LTS) can configure
|
Ubuntu Cosmic (18.10). All earlier releases (including 18.04 LTS) can configure
|
||||||
with `--with-included-boost` as instructed below.
|
with `--with-included-boost` as instructed below.
|
||||||
|
|
||||||
- RocksDB: The required version is available through `apt` as `librocksdb-dev` on
|
|
||||||
Ubuntu Disco (19.04). All earlier releases (including 18.04 LTS) can configure
|
|
||||||
with `--with-included-rocksdb` and skip the next bullet.
|
|
||||||
|
|
||||||
- RocksDB: THE COMPLETE SOURCE-CODE OF ROCKSDB MUST BE AVAILABLE TO BUILD CONSTRUCT.
|
- RocksDB: THE COMPLETE SOURCE-CODE OF ROCKSDB MUST BE AVAILABLE TO BUILD CONSTRUCT.
|
||||||
This is different from the `include/` and `lib/` files installed by `librocksdb-dev`
|
This is different from the `include/` and `lib/` files installed by your
|
||||||
with 19.04 or later (which is also required). If you are on 19.04, 19.10, or 20.04
|
distribution's package system. You do not have to build the source, but it must
|
||||||
or later, provide the source-code with the following:
|
be available. ALL UBUNTU USERS MUST BUILD THE SOURCE AS WELL (SKIP TO NEXT BULLET).
|
||||||
|
|
||||||
```
|
```
|
||||||
git submodule update --init deps/rocksdb
|
git submodule update --init deps/rocksdb
|
||||||
cd deps/rocksdb
|
cd deps/rocksdb
|
||||||
|
@ -24,6 +21,12 @@ git fetch --tags --force
|
||||||
git checkout v5.17.2
|
git checkout v5.17.2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- RocksDB: All Ubuntu users on all releases must configure Construct with the
|
||||||
|
option `--with-included-rocksdb`. This will fetch and properly build rocksdb.
|
||||||
|
|
||||||
|
> Ubuntu builds their library with `-Bsymbolic-functions`. This conflicts with
|
||||||
|
the requirements of Construct's embedding.
|
||||||
|
|
||||||
##### Installation Primer
|
##### Installation Primer
|
||||||
|
|
||||||
A general overview of what construct will build and install is given here. At
|
A general overview of what construct will build and install is given here. At
|
||||||
|
|
Loading…
Reference in a new issue