Skip to content

Commit 41742d9

Browse files
committed
GH-47840: [CI][C++] Check whether the CSV module is enabled or not before building example
`cpp/examples/minimal_build/` needs the CSV module.
1 parent 7a38744 commit 41742d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/scripts/cpp_test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ fi
129129
# * This doesn't test other CMake packages such as ArrowDataset
130130
if [ "${ARROW_USE_MESON:-OFF}" = "OFF" ] && \
131131
[ "${ARROW_EMSCRIPTEN:-OFF}" = "OFF" ] && \
132-
[ "${ARROW_USE_ASAN:-OFF}" = "OFF" ]; then
132+
[ "${ARROW_USE_ASAN:-OFF}" = "OFF" ] && \
133+
[ "${ARROW_USE_TSAN:-OFF}" = "OFF" ] && \
134+
[ "${ARROW_CSV:-ON}" = "ON" ]; then
133135
CMAKE_PREFIX_PATH="${CMAKE_INSTALL_PREFIX:-${ARROW_HOME}}"
134136
case "$(uname)" in
135137
MINGW*)

0 commit comments

Comments
 (0)