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
3db4216a
Commit
3db4216a
authored
Jan 15, 2017
by
Guolin Ke
Committed by
GitHub
Jan 15, 2017
Browse files
[R-package] update installation for OSX
parent
e7431447
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
R-package/README.md
R-package/README.md
+3
-0
No files found.
R-package/README.md
View file @
3db4216a
...
@@ -42,12 +42,15 @@ cat <<EOF >>~/.R/Makevars
...
@@ -42,12 +42,15 @@ cat <<EOF >>~/.R/Makevars
C=gcc-6
C=gcc-6
CXX=g++-6
CXX=g++-6
CXX1X=g++-6
CXX1X=g++-6
LDFLAGS=-L/usr/local/Cellar/gcc/6.3.0/lib
CPPFLAGS=-I/usr/local/Cellar/gcc/6.3.0/include
SHLIB_OPENMP_CFLAGS = -fopenmp
SHLIB_OPENMP_CFLAGS = -fopenmp
SHLIB_OPENMP_CXXFLAGS = -fopenmp
SHLIB_OPENMP_CXXFLAGS = -fopenmp
SHLIB_OPENMP_FCFLAGS = -fopenmp
SHLIB_OPENMP_FCFLAGS = -fopenmp
SHLIB_OPENMP_FFLAGS = -fopenmp
SHLIB_OPENMP_FFLAGS = -fopenmp
EOF
EOF
```
```
Note: for
``LDFLAGS=-L/usr/local/Cellar/gcc/6.3.0/lib``
and
``CPPFLAGS=-I/usr/local/Cellar/gcc/6.3.0/include``
, you may need to change
``6.3.0``
to your gcc version.
Examples
Examples
...
...
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