Skip to content

Commit

Permalink
update macOS gcc@5 installation guide (dmlc#3003)
Browse files Browse the repository at this point in the history
After installing ``gcc@5``, ``CMAKE_C_COMPILER`` will not be set to gcc-5 in some macOS environment automatically and the installation of xgboost will still fail. Manually setting the compiler will solve the problem.
  • Loading branch information
zhiruiwang authored and tqchen committed Jan 4, 2018
1 parent 14c6392 commit bf43671
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python-package/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ Please install ``gcc@5`` from `Homebrew <https://brew.sh/>`_::

brew install gcc@5

After installing ``gcc@5``, set it as your compiler::

export CC = gcc-5
export CXX = g++-5

Linux
-----

Expand Down

0 comments on commit bf43671

Please sign in to comment.