Skip to content

Conversation

WillAyd
Copy link
Contributor

@WillAyd WillAyd commented Sep 15, 2025

Rationale for this change

With the recent addition of the Arrow project to the Meson wrapdb, users of the Meson build system can now link against Arrow with trivial effort, whether Arrow is system-installed or needs to be built locally. We have no documentation currently showing this, so it would be nice to add.

What changes are included in this PR?

A new section in the build_system.rst docs showing how to use Meson

Are these changes tested?

Yes

Are there any user-facing changes?

No

Copy link

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

Comment on lines 159 to 167
project('my-example-project', 'cpp')
arrow_dep = dependency('arrow')
executable(
'my_example',
sources: ['my_example.cc'],
dependencies: [arrow_dep],
)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
project('my-example-project', 'cpp')
arrow_dep = dependency('arrow')
executable(
'my_example',
sources: ['my_example.cc'],
dependencies: [arrow_dep],
)
project('my-example-project', 'cpp')
arrow_dep = dependency('arrow')
executable(
'my_example',
sources: ['my_example.cc'],
dependencies: [arrow_dep],
)

Comment on lines 214 to 225
project('my-example-project', 'cpp')
arrow_compute_dep = dependency(
'arrow-compute',
default_options: ['compute=enabled'],
)
executable(
'my_example',
sources: ['my_example.cc'],
dependencies: [arrow_compute_dep],
)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
project('my-example-project', 'cpp')
arrow_compute_dep = dependency(
'arrow-compute',
default_options: ['compute=enabled'],
)
executable(
'my_example',
sources: ['my_example.cc'],
dependencies: [arrow_compute_dep],
)
project('my-example-project', 'cpp')
arrow_compute_dep = dependency(
'arrow-compute',
default_options: ['compute=enabled'],
)
executable(
'my_example',
sources: ['my_example.cc'],
dependencies: [arrow_compute_dep],
)

@kou
Copy link
Member

kou commented Sep 16, 2025

@github-actions crossbow submit preview-docs

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting review Awaiting review labels Sep 16, 2025
Copy link

Revision: 4e7c44f

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

Task Status
preview-docs GitHub Actions

@WillAyd
Copy link
Contributor Author

WillAyd commented Sep 16, 2025

@github-actions crossbow submit preview-docs

@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Sep 16, 2025
Copy link

Revision: f10b1c4

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

Task Status
preview-docs GitHub Actions

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