Update build.md

This commit is contained in:
alexey-milovidov 2019-06-28 20:13:58 +03:00 committed by GitHub
parent 4db84332fa
commit 3bd04a789f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ sudo apt-get install git cmake ninja-build
Or cmake3 instead of cmake on older systems.
## Install GCC 7
## Install GCC 8
There are several ways to do this.
@ -50,18 +50,18 @@ There are several ways to do this.
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-7 g++-7
sudo apt-get install gcc-8 g++-8
```
### Install from Sources
Look at [ci/build-gcc-from-sources.sh](https://github.com/yandex/ClickHouse/blob/master/ci/build-gcc-from-sources.sh)
## Use GCC 7 for Builds
## Use GCC 8 for Builds
```bash
export CC=gcc-7
export CXX=g++-7
export CC=gcc-8
export CXX=g++-8
```
## Install Required Libraries from Packages