Skip to content

GH-47961: [C++] Fix Meson's Boost process version detection#48017

Merged
kou merged 1 commit into
apache:mainfrom
WillAyd:meson-fix-boost
Nov 4, 2025
Merged

GH-47961: [C++] Fix Meson's Boost process version detection#48017
kou merged 1 commit into
apache:mainfrom
WillAyd:meson-fix-boost

Conversation

@WillAyd

@WillAyd WillAyd commented Oct 31, 2025

Copy link
Copy Markdown
Contributor

Rationale for this change

Meson is missing some defines that offer compatibility for different boost versions

What changes are included in this PR?

The Meson configuration is updated to include required boost defines

Are these changes tested?

Yes

Are there any user-facing changes?

No

@WillAyd WillAyd added the CI: Extra Run extra CI label Oct 31, 2025
@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #47961 has been automatically assigned in GitHub to PR creator.

@WillAyd

WillAyd commented Nov 3, 2025

Copy link
Copy Markdown
Contributor Author

Hi @kou - this is ready for review. Do you mind taking a look when you can? Thanks!

@kou kou left a comment

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.

+1

Comment thread cpp/src/arrow/meson.build Outdated
Comment on lines +687 to +690
filesystem_dep,
gmock_dep,
gtest_dep,
process_dep,

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.

Could you use the following order because Boost.Process depends on Boost.Filesystem:

Suggested change
filesystem_dep,
gmock_dep,
gtest_dep,
process_dep,
process_dep,
filesystem_dep,
gmock_dep,
gtest_dep,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done!

@github-actions github-actions Bot added awaiting merge Awaiting merge and removed awaiting review Awaiting review labels Nov 4, 2025
@kou kou merged commit d9c1881 into apache:main Nov 4, 2025
66 of 68 checks passed
@kou kou removed the awaiting merge Awaiting merge label Nov 4, 2025
@WillAyd WillAyd deleted the meson-fix-boost branch November 4, 2025 04:23
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 0 benchmarking runs that have been run so far on merge-commit d9c1881.

None of the specified runs were found on the Conbench server.

The full Conbench report has more details.

Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
…ache#48017)

### Rationale for this change

Meson is missing some defines that offer compatibility for different boost versions

### What changes are included in this PR?

The Meson configuration is updated to include required boost defines

### Are these changes tested?

Yes

### Are there any user-facing changes?

No
* GitHub Issue: apache#47961

Authored-by: Will Ayd <william.ayd@icloud.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants