Skip to content

Commit 79c214c

Browse files
authored
GH-46118: [C++] Add tensor directory to Meson (#46119)
### Rationale for this change Continually improves Meson implementation ### What changes are included in this PR? This adds the tensor directory ### Are these changes tested? Yes ### Are there any user-facing changes? No * GitHub Issue: #46118 Authored-by: Will Ayd <[email protected]> Signed-off-by: Will Ayd <[email protected]>
1 parent f80bd9c commit 79c214c

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

cpp/src/arrow/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ subdir('testing')
544544

545545
subdir('c')
546546
subdir('io')
547+
subdir('tensor')
547548
subdir('util')
548549

549550
gflags_dep = dependency('gflags', include_type: 'system')

cpp/src/arrow/tensor/meson.build

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
install_headers(['converter.h'], subdir: 'arrow/tensor')
19+
20+
exc = executable(
21+
'arrow-tensor-conversion-benchmark',
22+
sources: ['tensor_conversion_benchmark.cc'],
23+
dependencies: [arrow_benchmark_dep],
24+
)
25+
benchmark('arrow-tensor-conversion-benchmark', exc)

0 commit comments

Comments
 (0)