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 76a52c3f38 GH-45396: [C++] Use Boost with ARROW_FUZZING (#45397)
76a52c3f38 is described below
commit 76a52c3f389dc2ce381d630fcdfe11071ed2cce9
Author: Sutou Kouhei <[email protected]>
AuthorDate: Mon Feb 3 09:34:12 2025 +0900
GH-45396: [C++] Use Boost with ARROW_FUZZING (#45397)
### Rationale for this change
We need `arrow_testing` for `ARROW_FUZZING`. And `arrow_testing` needs
Boost.
### What changes are included in this PR?
Use Boost with `ARROW_FUZZING`.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #45396
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
cpp/cmake_modules/ThirdpartyToolchain.cmake | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake
b/cpp/cmake_modules/ThirdpartyToolchain.cmake
index cbc96ce397..e08e1cb2c6 100644
--- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
@@ -1258,6 +1258,7 @@ endif()
# - S3FS and Flight benchmarks need Boost at runtime.
if(ARROW_BUILD_INTEGRATION
OR ARROW_BUILD_TESTS
+ OR ARROW_FUZZING
OR (ARROW_FLIGHT AND (ARROW_TESTING OR ARROW_BUILD_BENCHMARKS))
OR (ARROW_S3 AND ARROW_BUILD_BENCHMARKS))
set(ARROW_USE_BOOST TRUE)