diff --git a/.github/workflows/velox_be.yml b/.github/workflows/velox_be.yml index e8862f1bfb646..87766dafb4f03 100644 --- a/.github/workflows/velox_be.yml +++ b/.github/workflows/velox_be.yml @@ -354,7 +354,7 @@ jobs: source /env.sh && \ sudo yum -y install patch && \ cd /opt/gluten/ep/build-velox/src && \ - ./get_velox.sh --velox_home=/opt/velox --enable_hdfs=ON && \ + ./get_velox.sh --velox_home=/opt/velox --enable_hdfs=ON --enable_s3=ON && \ ./build_velox.sh --velox_home=/opt/velox --enable_ep_cache=ON --enable_hdfs=ON' - name: Build Gluten CPP library run: | diff --git a/ep/build-velox/src/get_velox.sh b/ep/build-velox/src/get_velox.sh index 8bf84be2d8f59..61aeb68f35233 100755 --- a/ep/build-velox/src/get_velox.sh +++ b/ep/build-velox/src/get_velox.sh @@ -112,6 +112,7 @@ function process_setup_centos8 { sed -i '/^cmake_install_deps fmt/a \\install_protobuf' scripts/setup-centos8.sh fi if [ $ENABLE_S3 == "ON" ]; then + sed -i '/^function cmake_install_deps.*/i function install_awssdk {\n github_checkout aws/aws-sdk-cpp 1.9.379 --depth 1 --recurse-submodules\n cmake_install -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS:BOOL=OFF -DMINIMIZE_SIZE:BOOL=ON -DENABLE_TESTING:BOOL=OFF -DBUILD_ONLY:STRING="s3;identity-management" \n} \n' scripts/setup-centos8.sh sed -i '/^cmake_install_deps fmt/a \ \ install_awssdk' scripts/setup-centos8.sh fi }