Skip to content

Commit 80d8d0c

Browse files
committed
kou feedback
1 parent ef09ed6 commit 80d8d0c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

ci/scripts/cpp_build.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -282,13 +282,12 @@ else
282282
${source_dir}
283283
fi
284284

285+
ARROW_BUILD_PARALLEL=${CMAKE_BUILD_PARALLEL_LEVEL:-${ARROW_BUILD_PARALLEL:-$[${n_jobs} + 1]}}
285286
if [ "${ARROW_USE_MESON:-OFF}" = "ON" ]; then
286-
time {
287-
meson compile -j $[${n_jobs} + 1];
288-
meson install;
289-
}
287+
time meson compile -j ${ARROW_BUILD_PARALLEL}
288+
meson install
290289
else
291-
export CMAKE_BUILD_PARALLEL_LEVEL=${CMAKE_BUILD_PARALLEL_LEVEL:-$[${n_jobs} + 1]}
290+
export CMAKE_BUILD_PARALLEL_LEVEL=${ARROW_BUILD_PARALLEL}
292291
time cmake --build . --target install
293292
fi
294293

0 commit comments

Comments
 (0)