Skip to content

GH-46375: [C++] Add adapters/orc to Meson configuration #46409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

WillAyd
Copy link
Contributor

@WillAyd WillAyd commented May 12, 2025

Rationale for this change

This continues building out the functionality of the Meson integration

What changes are included in this PR?

This adds the adapters/orc directory to Meson

Are these changes tested?

Yes

Are there any user-facing changes?

No

@WillAyd WillAyd requested a review from wgtmac as a code owner May 12, 2025 19:27
Copy link

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

Copy link
Contributor Author

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

This integration was challenging given Orc's build system, but I think the current solution is workable. Let me know what you think!

[wrap-file]
source_url = https://www.apache.org/dyn/closer.lua/orc/orc-1.9.6/orc-1.9.6.tar.gz?action=download
source_fallback_url = https://dlcdn.apache.org/orc/orc-1.9.6/orc-1.9.6.tar.gz
source_filename = orc-1.9.6.tar.gz
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had to intentionally limit the version of orc < 2, as in 2.0 they introduced a new externalproject called orc-format that contains just the proto files for orc. Meson wrapping a CMake configuration to call an ExternalProject that itself is not a CMake project seemed pretty fragile...

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels May 12, 2025
@WillAyd
Copy link
Contributor Author

WillAyd commented May 12, 2025

@github-actions crossbow submit *meson

Copy link

Revision: 89b9a3f

Submitted crossbow builds: ursacomputing/crossbow @ actions-eb6663e1e5

Task Status
test-conda-cpp-meson GitHub Actions

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.

1 participant