Skip to content

GH-55710: [C++][R] Apply a Boost.Locale patch for CMake 4.5.0 compatibility - #55749

Draft
alinaliBQ wants to merge 3 commits into
apache:mainfrom
dremio:gh-55475-boost-locale-patch
Draft

alinaliBQ wants to merge 3 commits into
apache:mainfrom
dremio:gh-55475-boost-locale-patch

Conversation

@alinaliBQ

@alinaliBQ alinaliBQ commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Rationale for this change

boostorg/boost#1162 is needed to build bundled boost 1.92 on CMake 4.5.

What changes are included in this PR?

Add patch to exclude locale.hpp from source_group tree in boost.

Are these changes tested?

Yes, in CI

Are there any user-facing changes?

n/a

Was AI used for this PR?

In accordance to the AI generation guidelines, please disclose below whether and how AI was used in this PR.

PR code and description written by:

  • Human
  • AI

Reviewed before submission by:

  • Human
  • AI
  • Not reviewed

@alinaliBQ alinaliBQ added the CI: Extra: C++ Run extra C++ CI label Nov 23, 2026
@alinaliBQ
alinaliBQ force-pushed the gh-55475-boost-locale-patch branch from 72c6fdc to 5443e8c Compare November 23, 2026 21:56
@alinaliBQ alinaliBQ changed the title GH-55475: [C++][FlightRPC][ODBC] Apply a Boost.Locale patch for CMake 4.5.0 compatibility GH-55745: [C++][FlightRPC][ODBC] Apply a Boost.Locale patch for CMake 4.5.0 compatibility Nov 23, 2026
@kou kou changed the title GH-55745: [C++][FlightRPC][ODBC] Apply a Boost.Locale patch for CMake 4.5.0 compatibility GH-55710: [C++] Apply a Boost.Locale patch for CMake 4.5.0 compatibility Nov 23, 2026
* temp patch to get configuration working, then revert the patch to get `cpp/cmake_modules/ThirdpartyToolchain.cmake` to apply the patch
@alinaliBQ alinaliBQ added the CI: Extra: R Run extra R CI label Nov 24, 2026
@alinaliBQ

Copy link
Copy Markdown
Collaborator Author

@github-actions crossbow submit r-binary-packages

@github-actions

Copy link
Copy Markdown

Revision: 6aa44bc

Submitted crossbow builds: ursacomputing/crossbow @ actions-aab33942e7

Task Status
r-binary-packages GitHub Actions

@alinaliBQ alinaliBQ changed the title GH-55710: [C++] Apply a Boost.Locale patch for CMake 4.5.0 compatibility GH-55710: [C++][R] Apply a Boost.Locale patch for CMake 4.5.0 compatibility Nov 24, 2026
Comment thread r/tools/trim/boost.sh
# 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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we detect the cpp/ path once and use the detected cpp/ path for both TOOLCHAIN and BOOST_PATCH?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants