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
bc3d961f
"vscode:/vscode.git/clone" did not exist on "04e0db004fc848ca56b975a7bff9cec46c1a20d2"
Commit
bc3d961f
authored
Jun 14, 2017
by
Guolin Ke
Committed by
GitHub
Jun 14, 2017
Browse files
reduce the #proc used in make.
parent
f2c99ea4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
R-package/src/install.libs.R
R-package/src/install.libs.R
+2
-2
No files found.
R-package/src/install.libs.R
View file @
bc3d961f
...
...
@@ -35,14 +35,14 @@ if (!use_precompile) {
# Prepare installation steps
cmake_cmd
<-
"cmake"
build_cmd
<-
"make -j"
build_cmd
<-
"make -j
4
"
lib_folder
<-
file.path
(
R_PACKAGE_SOURCE
,
"src"
,
fsep
=
"/"
)
# Check if Windows installation (for gcc vs Visual Studio)
if
(
WINDOWS
)
{
if
(
use_mingw
)
{
cmake_cmd
<-
paste0
(
cmake_cmd
,
" -G \"MinGW Makefiles\" "
)
build_cmd
<-
"mingw32-make.exe -j"
build_cmd
<-
"mingw32-make.exe -j
4
"
}
else
{
cmake_cmd
<-
paste0
(
cmake_cmd
,
" -DCMAKE_GENERATOR_PLATFORM=x64 "
)
build_cmd
<-
"cmake --build . --target _lightgbm --config Release"
...
...
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