This commit is contained in:
Frank 2016-08-21 08:27:57 +08:00 committed by Tianqi Chen
parent dc1125eb56
commit 93e85139bc

View File

@ -103,6 +103,12 @@ Now, build using the following commands
cd ..; cp make/config.mk ./config.mk; make -j4
```
NOTE:
If you use OSX El Capitan, brew installs gcc the latest version gcc-6. So you may need to modify Makefile#L46 and change gcc-5 to gcc-6. After that change gcc-5/g++-5 to gcc-6/g++-6 in make/config.mk then build using the following commands
```bash
cd ..; cp make/config.mk ./config.mk; make -j4
```
### Building on Windows
You need to first clone the xgboost repo with recursive option clone the submodules.