Adding Ubuntu 20.04 instructions

Leo Alekseyev 2020-06-23 01:15:35 -07:00 committed by Fangrui Song
parent a55d4aa591
commit 5fcfc6a10c

@ -32,6 +32,16 @@ cmake --build Release
```
[source](https://github.com/EOSIO/eos/issues/43)
As of 2020-06-23 no pre-built binaries exist for Ubuntu 20.04. `sudo apt get install clang` and all the other dependencies listed here **excluding** rapidjson-dev (it is vendored in this repo), then run
```sh
cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH=/usr/lib/llvm-10 \
-DLLVM_INCLUDE_DIR=/usr/lib/llvm-10/include \
-DLLVM_BUILD_INCLUDE_DIR=/usr/include/llvm-10/
```
**Ignore** `fatal: No names found, cannot describe anything` message
Proceed with `cmake --build Release` and, if successful, `cd Release && sudo make install`
Ubuntu 18.04 prebuilt binaries are actually suitable for many non-Ubuntu distributions.
You may replace the last two **cmake** commands with: