Commit 7dec4dec authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

[R-package] update document for OSX installation

parent 4ee993c4
...@@ -36,8 +36,9 @@ The default installation cannot successfully in OSX due to clang in OSX doesn't ...@@ -36,8 +36,9 @@ The default installation cannot successfully in OSX due to clang in OSX doesn't
You can use following scirpts to change default compiler to gcc, then complie LightGBM R-package: You can use following scirpts to change default compiler to gcc, then complie LightGBM R-package:
``` ```
brew install gcc --without-multilib brew install gcc --without-multilib
mkdir -p ~/.R
touch ~/.R/Makevars touch ~/.R/Makevars
cat <<EOF >~/.R/Makevars cat <<EOF >>~/.R/Makevars
C=gcc-6 C=gcc-6
CXX=g++-6 CXX=g++-6
CXX1X=g++-6 CXX1X=g++-6
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment