diff options
| -rw-r--r-- | docs/Installation.md | 6 | ||||
| -rw-r--r-- | docs/Requirements.md | 21 | ||||
| -rw-r--r-- | docs/travis-build.md | 2 |
3 files changed, 17 insertions, 12 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 ``` diff --git a/docs/Requirements.md b/docs/Requirements.md index 6a8cbfa..513c0aa 100644 --- a/docs/Requirements.md +++ b/docs/Requirements.md @@ -14,7 +14,18 @@ To configure MySQL in Ubuntu 18.04 and similar (set `root` password and other settings) read [this guide](https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-18-04). -Note: on latest versions of Ubuntu the default mysql version is 5.7. If you're using this version, [read this](Requirements#mysql-57). +### Check your clang version + +`clang --version` + +Your `clang` version **MUST** to be `6` or higher ([here](http://www.azerothcore.org/wiki/travis-build) you can check the versions that run in our Travis CI pipeline, we recommend to use one of those versions). + +For example, if you are using an older version of Ubuntu like 16.04, you need to install clang using: + +`sudo apt-get install clang-6.0` + +If you use another distro or version, search on google for how to install the right clang version for your system. + # Mac OS X @@ -64,11 +75,3 @@ Then use it to install the required packages: 4. _Note #2: While installing OpenSSL, choose **The OpenSSL binaries (/bin) directory** (NOT "The Windows system directory") when given the choice on where to copy the OpenSSL DLLs. These DLLs will need to be located easily for Core Installation._ *** - -### MYSQL 5.7 - -AzerothCore does not officially support MySQL version >= 5.7, but there is a way to get it up and running. - -You have to remove NO_ZERO_IN_DATE and NO_ZERO_DATE flags from MySQL's sql_mode variable in the MySQL config file so that all queries updates and core statements can be applied correctly. - -You will find some useful information on StackOverflow about [How to use AzerothCore with MySQL 5.7](https://stackoverflow.com/questions/53884965/how-to-use-azerothcore-with-mysql-5-7) diff --git a/docs/travis-build.md b/docs/travis-build.md index 8d4653e..b34af59 100644 --- a/docs/travis-build.md +++ b/docs/travis-build.md @@ -1,7 +1,7 @@ (This document is just a draft and should be updated) Travis build -- id 1 is clang 3.8 +- id 1 is clang 6 - id 2 is clang 7 This is the script where the compiler is specified: |
