Skip to content

Commit 06f53b2

Browse files
authored
GH-47967: [C++] Update Meson Configuration with SafeInt Changes (#47968)
### Rationale for this change This retains feature parity with CMake ### What changes are included in this PR? Adds a Meson configuration file for the vendored safeint headers ### Are these changes tested? Yes ### Are there any user-facing changes? No * GitHub Issue: #47967 Authored-by: Will Ayd <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
1 parent 7623887 commit 06f53b2

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

cpp/src/arrow/vendored/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ subdir('datetime')
2424
subdir('double-conversion')
2525
subdir('pcg')
2626
subdir('portable-snippets')
27+
subdir('safeint')
2728
subdir('xxhash')

cpp/src/arrow/vendored/portable-snippets/meson.build

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,4 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
install_headers(
19-
['debug-trap.h', 'safe-math.h'],
20-
subdir: 'arrow/vendored/portable-snippets',
21-
)
18+
install_headers(['debug-trap.h'], subdir: 'arrow/vendored/portable-snippets')
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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(
19+
['safe_math.h', 'safe_math_impl.h'],
20+
subdir: 'arrow/vendored/safeint',
21+
)

0 commit comments

Comments
 (0)