-
Notifications
You must be signed in to change notification settings - Fork 3.9k
GH-47565: [C++] Document how to use Arrow in Meson build system #47566
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
base: main
Are you sure you want to change the base?
Conversation
|
docs/source/cpp/build_system.rst
Outdated
project('my-example-project', 'cpp') | ||
arrow_dep = dependency('arrow') | ||
executable( | ||
'my_example', | ||
sources: ['my_example.cc'], | ||
dependencies: [arrow_dep], | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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], | |
) |
docs/source/cpp/build_system.rst
Outdated
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], | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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], | |
) |
@github-actions crossbow submit preview-docs |
Revision: 4e7c44f Submitted crossbow builds: ursacomputing/crossbow @ actions-3ba8b85dae
|
@github-actions crossbow submit preview-docs |
Revision: f10b1c4 Submitted crossbow builds: ursacomputing/crossbow @ actions-3ccafe1f2f
|
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