pitrou commented on a change in pull request #12023:
URL: https://github.com/apache/arrow/pull/12023#discussion_r774215688



##########
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:
       The `+ 1` is to use the number of CPU cores + 1. It's a common heuristic 
to also cover IO costs.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to