Skip to content

GH-45829: [C++] Add compute directory to Meson configuration - #45830

Merged
kou merged 6 commits into
apache:mainfrom
WillAyd:meson-add-compute
May 2, 2025
Merged

kou merged 6 commits into
apache:mainfrom
WillAyd:meson-add-compute

Conversation

@WillAyd

@WillAyd WillAyd commented Mar 17, 2025 •

Copy link
Copy Markdown
Contributor

Rationale for this change

This continues adding features to the Arrow Meson configuration

What changes are included in this PR?

This adds a new compute option and integrations the compute directory into the mainline configuration

Are these changes tested?

Yes

Are there any user-facing changes?

No

@WillAyd

WillAyd commented Mar 17, 2025

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit *meson

@github-actions

Copy link
Copy Markdown

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

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #45829 has no components, please add labels for components.

@github-actions

Copy link
Copy Markdown

Revision: b9983953625b2b6d5139e83f61739113fc796720

Submitted crossbow builds: ursacomputing/crossbow @ actions-9f53028b84

Task Status
test-conda-cpp-meson GitHub Actions

@WillAyd
WillAyd force-pushed the meson-add-compute branch from b998395 to f292f33 Compare March 17, 2025 22:53
@WillAyd

WillAyd commented Mar 17, 2025

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit *meson

@github-actions

Copy link
Copy Markdown

Revision: f292f33d4a00e04b89b66d8ba45775758d2c4601

Submitted crossbow builds: ursacomputing/crossbow @ actions-168f1b878c

Task Status
test-conda-cpp-meson GitHub Actions

Comment thread cpp/meson.build Outdated

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 add this when we add acero/ directory?

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.

No problem. I added it here since needs_compute will eventually depend on it, but we can add that logic later

@WillAyd
WillAyd force-pushed the meson-add-compute branch from f292f33 to 823e84a Compare March 18, 2025 03:54
Comment thread cpp/src/arrow/compute/meson.build Outdated

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.

As an FYI I wrapped these file paths with the files function because both the compute and compute/kernels configuration would reference this variable. The files function makes it so that the path here remains absolute, whereas without it usage of this variable in the compute/kernels configuration would refer to the test_util_internal.cc module within that directory.

It may be a good idea to generally wrap all file paths with this function

@WillAyd

WillAyd commented Mar 18, 2025

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit *meson

@github-actions

Copy link
Copy Markdown

Revision: 823e84abec4efbadd32ce02a52de43f59900728f

Submitted crossbow builds: ursacomputing/crossbow @ actions-25d0ef191a

Task Status
test-conda-cpp-meson GitHub Actions

@WillAyd

WillAyd commented Mar 18, 2025

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit *meson

@github-actions

Copy link
Copy Markdown

Revision: 7b2e4dc5cbc6b886792e0bc3a7b3e4161fde310c

Submitted crossbow builds: ursacomputing/crossbow @ actions-aeb8c84859

Task Status
test-conda-cpp-meson GitHub Actions

@WillAyd
WillAyd force-pushed the meson-add-compute branch 2 times, most recently from 0f2b880 to fbc8a68 Compare April 10, 2025 13:46
@WillAyd

WillAyd commented Apr 15, 2025

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit *meson

@github-actions

Copy link
Copy Markdown

Revision: fbc8a687608b622cc91c7efae80e97adb0462d94

Submitted crossbow builds: ursacomputing/crossbow @ actions-85e80a74d7

Task Status
test-conda-cpp-meson GitHub Actions

@WillAyd

WillAyd commented Apr 15, 2025

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit *meson

@github-actions

Copy link
Copy Markdown

Revision: c97bec990621dc463d2c249d95626bc24d994311

Submitted crossbow builds: ursacomputing/crossbow @ actions-3bb4e7a944

Task Status
test-conda-cpp-meson GitHub Actions

@WillAyd

WillAyd commented Apr 15, 2025

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit *meson

@github-actions

Copy link
Copy Markdown

Revision: db6f5568b4159f0db7e0ed5ec9f05e4f5c4cc2f7

Submitted crossbow builds: ursacomputing/crossbow @ actions-b82155104d

Task Status
test-conda-cpp-meson GitHub Actions

@WillAyd
WillAyd force-pushed the meson-add-compute branch from db6f556 to f584be7 Compare April 15, 2025 22:12
@WillAyd

WillAyd commented Apr 15, 2025

Copy link
Copy Markdown
Contributor Author

I don't believe the test failure is related to the changes made in this PR as it is reproducible with CMake. I opened an issue for it in #46157

@WillAyd
WillAyd force-pushed the meson-add-compute branch 2 times, most recently from 70ef395 to 1cb9b17 Compare April 30, 2025 12:50
@WillAyd

WillAyd commented Apr 30, 2025

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit *meson

@github-actions

Copy link
Copy Markdown

Revision: 1cb9b176c60fbcb8a6531d95a7dc19c11c65ff04

Submitted crossbow builds: ursacomputing/crossbow @ actions-27442c952a

Task Status
test-conda-cpp-meson GitHub Actions

@WillAyd

WillAyd commented Apr 30, 2025

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit *meson

@github-actions

Copy link
Copy Markdown

Revision: 6c72216db875ab6720cfa37d0fb365ee2b5e80e7

Submitted crossbow builds: ursacomputing/crossbow @ actions-abb66860a5

Task Status
test-conda-cpp-meson GitHub Actions

@WillAyd

WillAyd commented May 1, 2025

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit *meson

@github-actions

github-actions Bot commented May 1, 2025

Copy link
Copy Markdown

Revision: 6c72216db875ab6720cfa37d0fb365ee2b5e80e7

Submitted crossbow builds: ursacomputing/crossbow @ actions-046fc3db6a

Task Status
test-conda-cpp-meson GitHub Actions

@WillAyd
WillAyd force-pushed the meson-add-compute branch from 6c72216 to ca8b22e Compare May 2, 2025 02:17
@WillAyd

WillAyd commented May 2, 2025

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit *meson

@github-actions

github-actions Bot commented May 2, 2025

Copy link
Copy Markdown

Revision: ca8b22e

Submitted crossbow builds: ursacomputing/crossbow @ actions-790622bf88

Task Status
test-conda-cpp-meson GitHub Actions

@WillAyd

WillAyd commented May 2, 2025

Copy link
Copy Markdown
Contributor Author

@kou this ones a bit more complicated, but is a pre-cursor to finishing many of the remaining options. No rush but whenever you have time to review would be greatly appreciated!

@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

@conbench-apache-arrow

Copy link
Copy Markdown

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

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 11 possible false positives for unstable benchmarks that are known to sometimes produce them.

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