Skip to content

Commit 3775fff

Browse files
authored
arrow: Enable CSV component (#14105)
This is a prerequisite for building a fuzz target for the CSV reader (see upstream issue: apache/arrow#47756).
1 parent 4b86168 commit 3775fff

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

projects/arrow/build.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
ARROW=${SRC}/arrow/cpp
1919

20-
export BUILD_DIR=$SRC/build-dir
20+
BUILD_DIR=${SRC}/build-dir
2121
mkdir -p ${BUILD_DIR}
2222
cd ${BUILD_DIR}
2323

@@ -47,6 +47,7 @@ cmake ${ARROW} -GNinja \
4747
-DPARQUET_BUILD_EXECUTABLES=off \
4848
-DPARQUET_REQUIRE_ENCRYPTION=off \
4949
\
50+
-DARROW_CSV=on \
5051
-DARROW_JEMALLOC=off \
5152
-DARROW_MIMALLOC=off \
5253
-DARROW_PARQUET=on \
@@ -64,9 +65,7 @@ cmake ${ARROW} -GNinja \
6465

6566
cmake --build . -j$(nproc)
6667

67-
cp -a release/* ${OUT}
68+
# Copy fuzz targets
69+
find . -executable -name "*-fuzz" -exec cp -a -v '{}' ${OUT} \;
6870

69-
# Remove unit tests from out
70-
rm $OUT/*-test
71-
72-
${ARROW}/build-support/fuzzing/generate_corpuses.sh ${OUT}
71+
${ARROW}/build-support/fuzzing/generate_corpuses.sh ${BUILD_DIR}/release

0 commit comments

Comments
 (0)