From 4cbb2686c79215ce0e2a8afa5c00a4f5f656eff0 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Mon, 19 Aug 2024 14:59:27 +0200 Subject: [PATCH 1/2] arrow: Enable Snappy compression In PR #12320, we enabled more compression algorithms for Arrow C++, but had to disable Snappy because of build issues. Since then, the Arrow project merged a PR (https://github.com/apache/arrow/pull/43706) which enables RTTI when building Snappy. Therefore, we can now enable Snappy in the OSS-Fuzz builds of Arrow C++ as well. --- projects/arrow/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/arrow/build.sh b/projects/arrow/build.sh index b2e50d278a98..34b4c3d72731 100755 --- a/projects/arrow/build.sh +++ b/projects/arrow/build.sh @@ -61,7 +61,7 @@ cmake ${ARROW} -GNinja \ -DARROW_WITH_BROTLI=on \ -DARROW_WITH_BZ2=off \ -DARROW_WITH_LZ4=on \ - -DARROW_WITH_SNAPPY=off \ + -DARROW_WITH_SNAPPY=on \ -DARROW_WITH_ZLIB=on \ -DARROW_WITH_ZSTD=on \ -DARROW_USE_GLOG=off \ From 4643e651f28fc6e74f8c509cd342f200b52d5015 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Mon, 19 Aug 2024 15:18:37 +0200 Subject: [PATCH 2/2] Remove obsolete comment --- projects/arrow/build.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/projects/arrow/build.sh b/projects/arrow/build.sh index 34b4c3d72731..813661688a6d 100755 --- a/projects/arrow/build.sh +++ b/projects/arrow/build.sh @@ -35,7 +35,6 @@ cd ${WORK} # would report leaks and error out. export ASAN_OPTIONS="detect_leaks=0" -# Snappy disabled as it forces `-fno-rtti`, which is incompatible with UBSAN. cmake ${ARROW} -GNinja \ -DCMAKE_BUILD_TYPE=Release \ -DARROW_DEPENDENCY_SOURCE=BUNDLED \