diff --git a/ep/build-velox/src/build_velox.sh b/ep/build-velox/src/build_velox.sh index 862b0ae19061..a7f5f1c6c57c 100755 --- a/ep/build-velox/src/build_velox.sh +++ b/ep/build-velox/src/build_velox.sh @@ -115,6 +115,7 @@ function compile { COMPILE_TYPE=$(if [[ "$BUILD_TYPE" == "debug" ]] || [[ "$BUILD_TYPE" == "Debug" ]]; then echo 'debug'; else echo 'release'; fi) echo "COMPILE_OPTION: "$COMPILE_OPTION + export simdjson_SOURCE=BUNDLED if [ $ARCH == 'x86_64' ]; then make $COMPILE_TYPE EXTRA_CMAKE_FLAGS="${COMPILE_OPTION}" elif [[ "$ARCH" == 'arm64' || "$ARCH" == 'aarch64' ]]; then @@ -124,8 +125,6 @@ function compile { exit 1 fi - export simdjson_SOURCE=BUNDLED - make $COMPILE_TYPE EXTRA_CMAKE_FLAGS="${COMPILE_OPTION}" # Install deps to system as needed if [ -d "_build/$COMPILE_TYPE/_deps" ]; then cd _build/$COMPILE_TYPE/_deps