diff --git a/ep/build-velox/src/setup-centos7.sh b/ep/build-velox/src/setup-centos7.sh index ddb674e74afa2..6f76112ae6a46 100755 --- a/ep/build-velox/src/setup-centos7.sh +++ b/ep/build-velox/src/setup-centos7.sh @@ -209,12 +209,6 @@ function install_fmt { cmake_install fmt -DFMT_TEST=OFF } -function install_curl { - cd "${DEPENDENCY_DIR}" - github_checkout curl/curl curl-7_68_0 - cmake -DCMAKE_BUILD_TYPE=Release -DOPENSSL_USE_STATIC_LIBS=TRUE -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON && cmake --build . && sudo cmake --install . -} - function install_duckdb { if $BUILD_DUCKDB ; then echo 'Building DuckDB' @@ -241,7 +235,6 @@ function install_prerequisites { function install_velox_deps { run_and_time install_fmt run_and_time install_folly - run_and_time install_curl run_and_time install_protobuf run_and_time install_gtest run_and_time install_conda @@ -257,7 +250,7 @@ dnf_install epel-release dnf-plugins-core # For ccache, ninja dnf_install ccache wget which libevent-devel \ yasm \ openssl-devel libzstd-devel lz4-devel double-conversion-devel \ - curl-devel libcurl-devel libxml2-devel libgsasl-devel libuuid-devel patch + curl-devel libxml2-devel libgsasl-devel libuuid-devel patch $SUDO dnf remove -y gflags