From 5005c07bbc85ecc60dc89f0cbb993135f419a534 Mon Sep 17 00:00:00 2001 From: Francesco Borzì Date: Sun, 25 Aug 2019 12:10:19 +0200 Subject: doc: update clang version in wiki (#117) --- docs/Installation.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/Installation.md') 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 ``` -- cgit