diff --git a/ep/build-velox/src/build_velox.sh b/ep/build-velox/src/build_velox.sh index 62871ba5e1d1..06bda8b4a103 100755 --- a/ep/build-velox/src/build_velox.sh +++ b/ep/build-velox/src/build_velox.sh @@ -103,7 +103,7 @@ function compile { fi fi - COMPILE_OPTION="-DVELOX_ENABLE_PARQUET=ON -DVELOX_BUILD_TESTING=OFF -DVELOX_BUILD_TEST_UTILS=OFF -DVELOX_ENABLE_DUCKDB=OFF" + COMPILE_OPTION="-DVELOX_ENABLE_PARQUET=ON -DVELOX_BUILD_TESTING=OFF -DVELOX_BUILD_TEST_UTILS=OFF -DVELOX_ENABLE_DUCKDB=OFF -DVELOX_ENABLE_PARSE=OFF" if [ $ENABLE_BENCHMARK == "ON" ]; then COMPILE_OPTION="$COMPILE_OPTION -DVELOX_BUILD_BENCHMARKS=ON" fi @@ -120,12 +120,6 @@ function compile { COMPILE_OPTION="$COMPILE_OPTION -DVELOX_ENABLE_GCS=ON" fi - if [[ $ENABLE_TESTS == "ON" ]] || [[ $ENABLE_BENCHMARK == "ON" ]]; then - COMPILE_OPTION="$COMPILE_OPTION -DVELOX_ENABLE_PARSE=ON" - else - COMPILE_OPTION="$COMPILE_OPTION -DVELOX_ENABLE_PARSE=OFF" - fi - COMPILE_OPTION="$COMPILE_OPTION -DCMAKE_BUILD_TYPE=${BUILD_TYPE}" COMPILE_TYPE=$(if [[ "$BUILD_TYPE" == "debug" ]] || [[ "$BUILD_TYPE" == "Debug" ]]; then echo 'debug'; else echo 'release'; fi) echo "COMPILE_OPTION: "$COMPILE_OPTION