kou commented on a change in pull request #12023: URL: https://github.com/apache/arrow/pull/12023#discussion_r774187199
########## File path: ci/scripts/cpp_build.sh ########## @@ -144,6 +159,8 @@ cmake \ if [ ! -z "${CPP_MAKE_PARALLELISM}" ]; then time cmake --build . --target install -- -j${CPP_MAKE_PARALLELISM} +elif [ "${CMAKE_GENERATOR}" == "Unix Makefiles" ]; then + time cmake --build . --target install -- -j$[${n_jobs} + 1] Review comment: Why do we need `+ 1` here? How about the default value to `1` not `-1`? e.g.: `n_jobs=${NPROC:1}` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org