Skip to content

Commit

Permalink
arrow: Enable Snappy compression (#12380)
Browse files Browse the repository at this point in the history
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
(apache/arrow#43706) which enables RTTI when
building Snappy.

Therefore, we can now enable Snappy in the OSS-Fuzz builds of Arrow C++
as well.
  • Loading branch information
pitrou authored Aug 21, 2024
1 parent c62851b commit 6ee27f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions projects/arrow/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -61,7 +60,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 \
Expand Down

0 comments on commit 6ee27f7

Please sign in to comment.