Typo is OSX installation instructions (#1718)

The `cd ..;` in the one liner takes you up a directory instead of into the xgboost directory. This will cause that step of the installation to fail. It seems like you are meant to enter the xgboost directory as you did in the instructions for installing xgboost without openmp.
This commit is contained in:
David Lichtenberg 2016-11-03 15:52:16 -04:00 committed by Tianqi Chen
parent 378eb7d7c8
commit 8156b71912

View File

@ -81,14 +81,14 @@ git clone --recursive https://github.com/dmlc/xgboost
and build using the following commands
```bash
cd ..; cp make/config.mk ./config.mk; make -j4
cd xgboost; 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
cd xgboost; cp make/config.mk ./config.mk; make -j4
```
### Building on Windows