This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 430ad81c2b GH-47919: [C++] Update Meson config for C Data Interface
changes (#47920)
430ad81c2b is described below
commit 430ad81c2b563bc2d57e81bef76da0c4bddc95e8
Author: William Ayd <[email protected]>
AuthorDate: Wed Oct 29 21:20:31 2025 -0400
GH-47919: [C++] Update Meson config for C Data Interface changes (#47920)
### Rationale for this change
This retains parity with the CMake configuration
### What changes are included in this PR?
C Data Interface library is created as a standalone
### Are these changes tested?
No (not possible with current CI)
### Are there any user-facing changes?
No
* GitHub Issue: #47919
Authored-by: Will Ayd <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
cpp/src/arrow/integration/meson.build | 6 ++++++
cpp/src/arrow/meson.build | 1 -
cpp/src/arrow/util/meson.build | 4 ++++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/cpp/src/arrow/integration/meson.build
b/cpp/src/arrow/integration/meson.build
index edc9fdf724..6437c380bb 100644
--- a/cpp/src/arrow/integration/meson.build
+++ b/cpp/src/arrow/integration/meson.build
@@ -23,6 +23,12 @@ exc = executable(
dependencies: [arrow_test_dep_no_main, rapidjson_dep, gflags_dep],
)
+arrow_c_data_integration_lib = library(
+ 'arrow_c_data_integration',
+ sources: ['c_data_integration_internal.cc'],
+ dependencies: [arrow_test_dep_no_main],
+)
+
if needs_tests
test('arrow-json-integration-test', exc)
endif
diff --git a/cpp/src/arrow/meson.build b/cpp/src/arrow/meson.build
index fb7a7c2830..703d5976ae 100644
--- a/cpp/src/arrow/meson.build
+++ b/cpp/src/arrow/meson.build
@@ -280,7 +280,6 @@ if needs_integration or needs_tests
arrow_components += {
'arrow_integration': {
'sources': [
- 'integration/c_data_integration_internal.cc',
'integration/json_integration.cc',
'integration/json_internal.cc',
],
diff --git a/cpp/src/arrow/util/meson.build b/cpp/src/arrow/util/meson.build
index cd92f167a9..d13a4bb8a9 100644
--- a/cpp/src/arrow/util/meson.build
+++ b/cpp/src/arrow/util/meson.build
@@ -253,7 +253,10 @@ util_tests = {
'sources': [
'bit_block_counter_test.cc',
'bit_util_test.cc',
+ 'bitmap_test.cc',
+ 'bpacking_test.cc',
'rle_encoding_test.cc',
+ 'test_common.cc',
],
},
'arrow-threading-utility-test': {
@@ -283,6 +286,7 @@ util_benchmarks = [
'bit_block_counter',
'bit_util',
'bitmap_reader',
+ 'bpacking',
'cache',
'compression',
'decimal',