Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
7dec4dec
"git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "e7a2b66f9cfc18ed005b167d2f0d552cfd2e09cf"
Commit
7dec4dec
authored
Jan 13, 2017
by
Guolin Ke
Committed by
GitHub
Jan 13, 2017
Browse files
[R-package] update document for OSX installation
parent
4ee993c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
R-package/README.md
R-package/README.md
+3
-2
No files found.
R-package/README.md
View file @
7dec4dec
...
...
@@ -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
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment