From 8156b7191205fcae1c2576d12b0c56deb6aa118a Mon Sep 17 00:00:00 2001 From: David Lichtenberg Date: Thu, 3 Nov 2016 15:52:16 -0400 Subject: [PATCH] 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. --- doc/build.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/build.md b/doc/build.md index 7c492c8b5..d41cc5f0e 100644 --- a/doc/build.md +++ b/doc/build.md @@ -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