Skip to content

Conversation

@WillAyd
Copy link
Contributor

@WillAyd WillAyd commented Oct 31, 2025

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

⚠️ 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
Copy link
Contributor Author

WillAyd commented Oct 31, 2025

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
Copy link
Contributor Author

WillAyd commented Nov 4, 2025

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

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

)
meson.override_dependency('arrow-substrait', arrow_substrait_dep)

pkg_config_cflags = get_option('default_library') == 'static' ? '-DARROW_ENGINE_STATIC' : ''
Copy link
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
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

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.

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