"git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "e7a2b66f9cfc18ed005b167d2f0d552cfd2e09cf"
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
You can use following scirpts to change default compiler to gcc, then complie LightGBM R-package:
```
brew install gcc --without-multilib
mkdir -p ~/.R
touch ~/.R/Makevars
cat <<EOF >~/.R/Makevars
cat <<EOF >>~/.R/Makevars
C=gcc-6
CXX=g++-6
CXX1X=g++-6
......@@ -45,7 +46,7 @@ SHLIB_OPENMP_CFLAGS = -fopenmp
SHLIB_OPENMP_CXXFLAGS = -fopenmp
SHLIB_OPENMP_FCFLAGS = -fopenmp
SHLIB_OPENMP_FFLAGS = -fopenmp
EOF
EOF
```
......
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