kou commented on code in PR #55749:
URL: https://github.com/apache/arrow/pull/55749#discussion_r4688998856
##########
r/tools/trim/boost.sh:
##########
@@ -152,6 +152,22 @@ if [ ! -f "${SRC}/tools/cmake/include/BoostRoot.cmake" ];
then
exit 1
fi
+# Boost.Locale 1.92.0 fails to configure with CMake 4.5.0, so patch it for
+# the configure step below.
+# The patch is reverted right after configuring, because the trimmed
+# tarball must stay unpatched to allow build_boost() to apply the patch when
+# libarrow is built.
+# TODO: Remove this once we use a Boost release that includes
+# https://github.com/boostorg/locale/pull/273
+BOOST_PATCH=""
+for dir in "${SCRIPT_DIR}/../cpp" "${SCRIPT_DIR}/../../../cpp"; do
Review Comment:
Can we detect the `cpp/` path once and use the detected `cpp/` path for both
`TOOLCHAIN` and `BOOST_PATCH`?
--
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]