"git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "99f8e3e29ea5205905e5bd3ac62ce536dc03441d"
Commit bc3d961f authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

reduce the #proc used in make.

parent f2c99ea4
......@@ -35,14 +35,14 @@ if (!use_precompile) {
# Prepare installation steps
cmake_cmd <- "cmake"
build_cmd <- "make -j"
build_cmd <- "make -j4"
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 -j4"
} else {
cmake_cmd <- paste0(cmake_cmd, " -DCMAKE_GENERATOR_PLATFORM=x64 ")
build_cmd <- "cmake --build . --target _lightgbm --config Release"
......
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