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 06f53b24ee GH-47967: [C++] Update Meson Configuration with SafeInt
Changes (#47968)
06f53b24ee is described below
commit 06f53b24ee9e845f705854d9d554925a14b0ee9d
Author: William Ayd <[email protected]>
AuthorDate: Tue Oct 28 21:09:21 2025 -0400
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]>
---
cpp/src/arrow/vendored/meson.build | 1 +
cpp/src/arrow/vendored/portable-snippets/meson.build | 5 +----
cpp/src/arrow/vendored/{portable-snippets => safeint}/meson.build | 4 ++--
3 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/cpp/src/arrow/vendored/meson.build
b/cpp/src/arrow/vendored/meson.build
index bd23b534c7..f4b9f6c912 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 5107f66cd7..552877a478 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/portable-snippets/meson.build
b/cpp/src/arrow/vendored/safeint/meson.build
similarity index 90%
copy from cpp/src/arrow/vendored/portable-snippets/meson.build
copy to cpp/src/arrow/vendored/safeint/meson.build
index 5107f66cd7..2f088d6a53 100644
--- a/cpp/src/arrow/vendored/portable-snippets/meson.build
+++ b/cpp/src/arrow/vendored/safeint/meson.build
@@ -16,6 +16,6 @@
# under the License.
install_headers(
- ['debug-trap.h', 'safe-math.h'],
- subdir: 'arrow/vendored/portable-snippets',
+ ['safe_math.h', 'safe_math_impl.h'],
+ subdir: 'arrow/vendored/safeint',
)