kou commented on code in PR #46339:
URL: https://github.com/apache/arrow/pull/46339#discussion_r2080681210
##########
ci/scripts/cpp_build.sh:
##########
@@ -282,10 +282,12 @@ else
${source_dir}
fi
+ARROW_BUILD_PARALLEL=${CMAKE_BUILD_PARALLEL_LEVEL:-${ARROW_BUILD_PARALLEL:-$[${n_jobs}
+ 1]}}
if [ "${ARROW_USE_MESON:-OFF}" = "ON" ]; then
- time meson install
+ time meson compile -j ${ARROW_BUILD_PARALLEL}
+ meson install
else
- export CMAKE_BUILD_PARALLEL_LEVEL=${CMAKE_BUILD_PARALLEL_LEVEL:-$[${n_jobs}
+ 1]}
+ export CMAKE_BUILD_PARALLEL_LEVEL=${ARROW_BUILD_PARALLEL}
Review Comment:
```suggestion
: ${CMAKE_BUILD_PARALLEL_LEVEL:=${ARROW_BUILD_PARALLEL}}
export CMAKE_BUILD_PARALLEL_LEVEL
```
##########
ci/scripts/cpp_build.sh:
##########
@@ -282,10 +282,12 @@ else
${source_dir}
fi
+ARROW_BUILD_PARALLEL=${CMAKE_BUILD_PARALLEL_LEVEL:-${ARROW_BUILD_PARALLEL:-$[${n_jobs}
+ 1]}}
Review Comment:
```suggestion
: ${ARROW_BUILD_PARALLEL:=$[${n_jobs} + 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]