From 77715d5c626a1efb82c904227355afdb7d676472 Mon Sep 17 00:00:00 2001 From: Rajiv Abraham Date: Wed, 29 Nov 2017 14:20:49 -0500 Subject: [PATCH] Update to correct brew gcc command (#1931) The previous command did not work for me. This one did. --- python-package/build_trouble_shooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-package/build_trouble_shooting.md b/python-package/build_trouble_shooting.md index 310c04fe1..d3d1447ab 100644 --- a/python-package/build_trouble_shooting.md +++ b/python-package/build_trouble_shooting.md @@ -55,7 +55,7 @@ Mac OS X (specific) Most of the troubles and solutions are the same with that in the Linux platform. Mac has the following specific problems. **Trouble 0**: I successfully installed `xgboost` using github installation/using `pip install xgboost`. But it runs very slow with only single thread, what is going on? -**Solution 0**: `clang LLVM` compiler on Mac OS X from Xcode doesn't support OpenMP multi-thread. An alternative choice is installing `homebrew` and `brew install g++-5` which provides multi-thread OpenMP support. +**Solution 0**: `clang LLVM` compiler on Mac OS X from Xcode doesn't support OpenMP multi-thread. An alternative choice is installing `homebrew` and `brew install gcc5` which provides multi-thread OpenMP support. **Trouble 1**: Can I install `clang-omp` for supporting OpenMP without using `gcc`? **Solution 1**: it is not support and may have linking errors.