raulcd commented on code in PR #46339:
URL: https://github.com/apache/arrow/pull/46339#discussion_r2077096989


##########
ci/scripts/cpp_build.sh:
##########
@@ -283,9 +283,10 @@ else
 fi
 
 if [ "${ARROW_USE_MESON:-OFF}" = "ON" ]; then
-  time meson install
+  time meson compile -j ${ARROW_BUILD_PARALLEL:-$[${n_jobs} + 1]}
+  meson install
 else
-  export CMAKE_BUILD_PARALLEL_LEVEL=${CMAKE_BUILD_PARALLEL_LEVEL:-$[${n_jobs} 
+ 1]}
+  export ARROW_BUILD_PARALLEL=${ARROW_BUILD_PARALLEL:-$[${n_jobs} + 1]}

Review Comment:
   CMake doesn't know what `ARROW_BUILD_PARALLEL` is, we should still use 
`CMAKE_BUILD_PARALLEL_LEVEL` which we can define outside of the if `: 
${ARROW_BUILD_PARALLEL:=$[${n_jobs} + 1]}`
   ```suggestion
     export CMAKE_BUILD_PARALLEL_LEVEL=${ARROW_BUILD_PARALLEL}
   ```



-- 
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