From 784982826c796da78c1a195be7fd7c15f721727b Mon Sep 17 00:00:00 2001 From: Will Ayd Date: Mon, 27 Oct 2025 18:34:45 -0400 Subject: [PATCH] GH-47967: [C++] Update Meson Configuration with SafeInt Changes --- cpp/src/arrow/vendored/meson.build | 1 + .../vendored/portable-snippets/meson.build | 5 +---- cpp/src/arrow/vendored/safeint/meson.build | 21 +++++++++++++++++++ 3 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 cpp/src/arrow/vendored/safeint/meson.build diff --git a/cpp/src/arrow/vendored/meson.build b/cpp/src/arrow/vendored/meson.build index bd23b534c70..f4b9f6c9128 100644 --- a/cpp/src/arrow/vendored/meson.build +++ b/cpp/src/arrow/vendored/meson.build @@ -24,4 +24,5 @@ subdir('datetime') subdir('double-conversion') subdir('pcg') subdir('portable-snippets') +subdir('safeint') subdir('xxhash') diff --git a/cpp/src/arrow/vendored/portable-snippets/meson.build b/cpp/src/arrow/vendored/portable-snippets/meson.build index 5107f66cd7f..552877a478f 100644 --- a/cpp/src/arrow/vendored/portable-snippets/meson.build +++ b/cpp/src/arrow/vendored/portable-snippets/meson.build @@ -15,7 +15,4 @@ # specific language governing permissions and limitations # under the License. -install_headers( - ['debug-trap.h', 'safe-math.h'], - subdir: 'arrow/vendored/portable-snippets', -) +install_headers(['debug-trap.h'], subdir: 'arrow/vendored/portable-snippets') diff --git a/cpp/src/arrow/vendored/safeint/meson.build b/cpp/src/arrow/vendored/safeint/meson.build new file mode 100644 index 00000000000..2f088d6a53a --- /dev/null +++ b/cpp/src/arrow/vendored/safeint/meson.build @@ -0,0 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +install_headers( + ['safe_math.h', 'safe_math_impl.h'], + subdir: 'arrow/vendored/safeint', +)