Skip to content

Commit ca68452

Browse files
authored
GH-49486: [CI][C++] Fix Meson build missing tensor extension sources (#49487)
## Summary - Add `extension/tensor_internal.cc` and `extension/variable_shape_tensor.cc` to the `arrow_json` sources in `meson.build` - Add `variable_shape_tensor.h` to installed headers in `extension/meson.build` - These files were present in `CMakeLists.txt` but missing from the Meson build, causing undefined reference linker errors for `variable_shape_tensor()`, `IsPermutationTrivial()`, `IsPermutationValid()`, `ComputeStrides()`, and `SliceTensorBuffer()` ## Test plan - [ ] Verify the Meson CI build passes without linker errors * GitHub Issue: #49486 🤖 Generated with [Claude Code](https://claude.com/claude-code) Authored-by: Will Ayd <william.ayd@icloud.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
1 parent 425666c commit ca68452

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

cpp/src/arrow/extension/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ install_headers(
3939
'opaque.h',
4040
'parquet_variant.h',
4141
'uuid.h',
42+
'variable_shape_tensor.h',
4243
],
4344
)

cpp/src/arrow/meson.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,8 @@ if needs_json
507507
'sources': [
508508
'extension/fixed_shape_tensor.cc',
509509
'extension/opaque.cc',
510+
'extension/tensor_internal.cc',
511+
'extension/variable_shape_tensor.cc',
510512
'json/options.cc',
511513
'json/chunked_builder.cc',
512514
'json/chunker.cc',

0 commit comments

Comments
 (0)