Skip to content

GH-47921: [C++] Implement substrait option in Meson#48016

Merged
WillAyd merged 1 commit into
apache:mainfrom
WillAyd:meson-add-substrait
Nov 6, 2025
Merged

GH-47921: [C++] Implement substrait option in Meson#48016
WillAyd merged 1 commit into
apache:mainfrom
WillAyd:meson-add-substrait

Conversation

@WillAyd

@WillAyd WillAyd commented Oct 31, 2025

Copy link
Copy Markdown
Contributor

Rationale for this change

This implements the substrait option in Meson

What changes are included in this PR?

Meson configuration changes to allow substrait

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 #47921 has been automatically assigned in GitHub to PR creator.

@WillAyd WillAyd force-pushed the meson-add-substrait branch 2 times, most recently from 802686a to fcd620d Compare October 31, 2025 16:06
@WillAyd

WillAyd commented Oct 31, 2025

Copy link
Copy Markdown
Contributor Author

Looks like this will need #48017 first

@WillAyd WillAyd force-pushed the meson-add-substrait branch from fcd620d to 35b71b3 Compare November 4, 2025 04:23
@WillAyd

WillAyd commented Nov 4, 2025

Copy link
Copy Markdown
Contributor Author

@kou if you get a chance to look at this one let me know - no rush!

@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/engine/meson.build Outdated
)
meson.override_dependency('arrow-substrait', arrow_substrait_dep)

pkg_config_cflags = get_option('default_library') == 'static' ? '-DARROW_ENGINE_STATIC' : ''

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.

How about avoid using empty string?

Suggested change
pkg_config_cflags = get_option('default_library') == 'static' ? '-DARROW_ENGINE_STATIC' : ''
pkg_config_cflags = []
if get_option('default_library') == 'static'
pkg_config_cflags += ['-DARROW_ENGINE_STATIC']
endif

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
@WillAyd WillAyd force-pushed the meson-add-substrait branch from 35b71b3 to 2845099 Compare November 5, 2025 02:28
@WillAyd WillAyd merged commit 7185902 into apache:main Nov 6, 2025
66 of 68 checks passed
@WillAyd WillAyd removed the awaiting merge Awaiting merge label Nov 6, 2025
@WillAyd WillAyd deleted the meson-add-substrait branch November 6, 2025 15:15
@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 7185902.

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
### Rationale for this change

This implements the substrait option in Meson

### What changes are included in this PR?

Meson configuration changes to allow substrait

### Are these changes tested?

Yes

### Are there any user-facing changes?

No

* GitHub Issue: apache#47921

Authored-by: Will Ayd <william.ayd@icloud.com>
Signed-off-by: Will Ayd <william.ayd@icloud.com>
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