diff options
| author | Francesco Borzì <borzifrancesco@gmail.com> | 2019-08-25 12:10:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-25 12:10:19 +0200 |
| commit | 5005c07bbc85ecc60dc89f0cbb993135f419a534 (patch) | |
| tree | 3bc42ff3ebbd0cf0216f55a1431be7848f01f56f /docs/Installation.md | |
| parent | 673339c95231cfa987537dcdc22af04e52773edd (diff) | |
| download | wiki-5005c07bbc85ecc60dc89f0cbb993135f419a534.tar.gz wiki-5005c07bbc85ecc60dc89f0cbb993135f419a534.tar.bz2 wiki-5005c07bbc85ecc60dc89f0cbb993135f419a534.zip | |
doc: update clang version in wiki (#117)
Diffstat (limited to 'docs/Installation.md')
| -rw-r--r-- | docs/Installation.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/Installation.md b/docs/Installation.md index 2ac2a07..b66a1c1 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -49,7 +49,9 @@ Check the options here if you know what you're doing: [CMake options](CMake-opti At this point, you must be in your "build/" directory. -**Note**: in the follows command the variable `$HOME` is the path of the **current user**, so if you are logged as root, $HOME will be "/root". +**Note**: in the following command the variable `$HOME` is the path of the **current user**, so if you are logged as root, $HOME will be "/root". + +**Note2**: in case you use a non-default package for `clang`, you need to replace it accordingly. For example, if you installed `clang-6.0` then you have to replace `clang` with `clang-6.0` and `clang++` with `clang++-6.0` ``` cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=0 -DSCRIPTS=1 @@ -58,7 +60,7 @@ cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/b Then, replacing `4` with the number of threads that you want to execute, type: ``` -make -j 4 +make -j 6 make install ``` |
