You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "WillAyd (via GitHub)" <gi...@apache.org> on 2025/05/06 20:13:06 UTC
[PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
WillAyd opened a new pull request, #46339:
URL: https://github.com/apache/arrow/pull/46339
### Rationale for this change
This makes it possible to control the number of jobs used with Meson in the cpp_build.sh script
### What changes are included in this PR?
Updates to cpp_build.sh
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2855853469
@raulcd if I understand correctly, the CMake configuration can read the `CMAKE_BUILD_PARALLEL_LEVEL` environment variable. Are you looking to recreate that here? Should we use a different name?
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on code in PR #46339:
URL: https://github.com/apache/arrow/pull/46339#discussion_r2077732710
##########
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:
Nice catch - done!
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on code in PR #46339:
URL: https://github.com/apache/arrow/pull/46339#discussion_r2076605309
##########
ci/scripts/cpp_build.sh:
##########
@@ -283,7 +283,10 @@ else
fi
if [ "${ARROW_USE_MESON:-OFF}" = "ON" ]; then
- time meson install
+ time {
+ meson compile -j $[${n_jobs} + 1];
+ meson install;
+ }
else
export CMAKE_BUILD_PARALLEL_LEVEL=${CMAKE_BUILD_PARALLEL_LEVEL:-$[${n_jobs} + 1]}
Review Comment:
How about defining `ARROW_BUILD_PARALLEL` or something and use it as the default for Meson and CMake?
```shell
: ${ARROW_BUILD_PARALLEL:=$[${n_jobs} + 1]}
if [ "${ARROW_USE_MESON:-OFF}" = "ON" ]; then
meson compile -j ${ARROW_BUILD_PARALLEL}
else
export CMAKE_BUILD_PARALLEL_LEVEL=${ARROW_BUILD_PARALLEL}
fi
```
##########
ci/scripts/cpp_build.sh:
##########
@@ -283,7 +283,10 @@ else
fi
if [ "${ARROW_USE_MESON:-OFF}" = "ON" ]; then
- time meson install
+ time {
+ meson compile -j $[${n_jobs} + 1];
+ meson install;
+ }
Review Comment:
We need only compile time because install time will not be slow:
```suggestion
time meson compile -j $[${n_jobs} + 1]
meson install
```
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd merged PR #46339:
URL: https://github.com/apache/arrow/pull/46339
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2858808237
@github-actions crossbow submit *meson
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2864830157
Revision: fb1d52b7347f7731f7f35fad2f7fa7ae772582bb
Submitted crossbow builds: [ursacomputing/crossbow @ actions-770b1544a4](https://github.com/ursacomputing/crossbow/branches/all?query=actions-770b1544a4)
|Task|Status|
|----|------|
|test-conda-cpp-meson|[](https://github.com/ursacomputing/crossbow/actions/runs/14919333512/job/41911604035)|
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2857258837
@github-actions crossbow submit *meson
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2855919155
Revision: ef09ed616916b8ba9b571fdb46e8bb337740056c
Submitted crossbow builds: [ursacomputing/crossbow @ actions-098f7bf390](https://github.com/ursacomputing/crossbow/branches/all?query=actions-098f7bf390)
|Task|Status|
|----|------|
|test-conda-cpp-meson|[](https://github.com/ursacomputing/crossbow/actions/runs/14869267472/job/41753653143)|
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2855895425
Revision: 6b788ef1281305301dbe08f52c977337506b2a8a
Submitted crossbow builds: [ursacomputing/crossbow @ actions-a671c6cb33](https://github.com/ursacomputing/crossbow/branches/all?query=actions-a671c6cb33)
|Task|Status|
|----|------|
|test-conda-cpp-meson|[](https://github.com/ursacomputing/crossbow/actions/runs/14869129926/job/41753218102)|
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2900264019
@kou do you have any other suggestion otherwise I'll merge this
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2858815628
Revision: 180ad7af9e1984f1f771131fe31afdd07a0cf366
Submitted crossbow builds: [ursacomputing/crossbow @ actions-d3f9e22713](https://github.com/ursacomputing/crossbow/branches/all?query=actions-d3f9e22713)
|Task|Status|
|----|------|
|test-conda-cpp-meson|[](https://github.com/ursacomputing/crossbow/actions/runs/14885951302/job/41805478901)|
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on code in PR #46339:
URL: https://github.com/apache/arrow/pull/46339#discussion_r2079761438
##########
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 CMAKE_BUILD_PARALLEL_LEVEL=${ARROW_BUILD_PARALLEL:-$[${n_jobs} + 1]}
Review Comment:
It looks a bit more complicated but let me know if the current iteration is now inline with your expectations or not
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on code in PR #46339:
URL: https://github.com/apache/arrow/pull/46339#discussion_r2079760015
##########
dev/release/verify-release-candidate.sh:
##########
@@ -591,7 +591,7 @@ test_and_install_cpp() {
-DPARQUET_REQUIRE_ENCRYPTION=ON \
${ARROW_CMAKE_OPTIONS:-} \
${ARROW_SOURCE_DIR}/cpp
- export CMAKE_BUILD_PARALLEL_LEVEL=${CMAKE_BUILD_PARALLEL_LEVEL:-${NPROC}}
+ export CMAKE_BUILD_PARALLEL_LEVEL=${ARROW_BUILD_PARALLEL:-${NPROC}}
Review Comment:
Good point - for now I have just reverted this
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "conbench-apache-arrow[bot] (via GitHub)" <gi...@apache.org>.
conbench-apache-arrow[bot] commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2901801574
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 197afc02026d6ded3c45f25dcee15a94294cc5ca.
There were no benchmark performance regressions. 🎉
The [full Conbench report](https://github.com/apache/arrow/runs/42725257119) has more details. It also includes information about 2 possible false positives for unstable benchmarks that are known to sometimes produce them.
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2855914526
@github-actions crossbow submit *meson
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2857264221
Revision: f471fe165c1441be240f864d2c30dd7e07c19c36
Submitted crossbow builds: [ursacomputing/crossbow @ actions-db63e10f79](https://github.com/ursacomputing/crossbow/branches/all?query=actions-db63e10f79)
|Task|Status|
|----|------|
|test-conda-cpp-meson|[](https://github.com/ursacomputing/crossbow/actions/runs/14876676000/job/41775204010)|
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2855843226
:warning: GitHub issue #46338 **has been automatically assigned in GitHub** to PR creator.
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2864827882
@github-actions crossbow submit *meson
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on code in PR #46339:
URL: https://github.com/apache/arrow/pull/46339#discussion_r2078972963
##########
dev/release/verify-release-candidate.sh:
##########
@@ -591,7 +591,7 @@ test_and_install_cpp() {
-DPARQUET_REQUIRE_ENCRYPTION=ON \
${ARROW_CMAKE_OPTIONS:-} \
${ARROW_SOURCE_DIR}/cpp
- export CMAKE_BUILD_PARALLEL_LEVEL=${CMAKE_BUILD_PARALLEL_LEVEL:-${NPROC}}
+ export CMAKE_BUILD_PARALLEL_LEVEL=${ARROW_BUILD_PARALLEL:-${NPROC}}
Review Comment:
Hmm. I think that we don't need this because we always use CMake in this script.
If we want this, could you use `ARROW_BUILD_PARALLEL` only if `CMAKE_BUILD_PARALLEL` isn't defined?
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on code in PR #46339:
URL: https://github.com/apache/arrow/pull/46339#discussion_r2078970166
##########
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]}
Review Comment:
Could you define `ARROW_BUILD_PARALLEL` out of this `if` to avoid the default value duplication?
##########
dev/release/verify-release-candidate.sh:
##########
@@ -591,7 +591,7 @@ test_and_install_cpp() {
-DPARQUET_REQUIRE_ENCRYPTION=ON \
${ARROW_CMAKE_OPTIONS:-} \
${ARROW_SOURCE_DIR}/cpp
- export CMAKE_BUILD_PARALLEL_LEVEL=${CMAKE_BUILD_PARALLEL_LEVEL:-${NPROC}}
+ export CMAKE_BUILD_PARALLEL_LEVEL=${ARROW_BUILD_PARALLEL:-${NPROC}}
Review Comment:
Hmm. I think that we don't need this because we always use CMake in this script.
If we want this, could you use use `ARROW_BUILD_PARALLEL` only if `CMAKE_BUILD_PARALLEL` isn't defined?
##########
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 CMAKE_BUILD_PARALLEL_LEVEL=${ARROW_BUILD_PARALLEL:-$[${n_jobs} + 1]}
Review Comment:
Could you use `ARROW_BUILD_PARALLEL` only if `CMAKE_BUILD_PARALLEL_LEVEL`? (If both of `CMAKE_BUILD_PARALLEL_LEVEL` and `ARROW_BUILD_PARALLEL`, `CMAKE_BUILD_PARALLEL_LEVEL` should be used.)
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on PR #46339:
URL: https://github.com/apache/arrow/pull/46339#issuecomment-2855890770
@github-actions crossbow submit *meson
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46338: [C++] Add compile step for Meson in cpp_build.sh [arrow]
Posted by "raulcd (via GitHub)" <gi...@apache.org>.
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org