This is an automated email from the ASF dual-hosted git repository.

panxiaolei pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 7fedbf8d40 [chore](third-party) Speed the download up for aws-crt-cpp 
(#22997) (#23030)
7fedbf8d40 is described below

commit 7fedbf8d401dce4147c05f124b5a9aded90f5a48
Author: Adonis Ling <[email protected]>
AuthorDate: Thu Aug 17 14:15:34 2023 +0800

    [chore](third-party) Speed the download up for aws-crt-cpp (#22997) (#23030)
    
    The package aws-sdk-cpp was upgraded in #20252. We can speed the download 
up for aws-crt-cpp.
---
 thirdparty/build-thirdparty.sh    | 2 +-
 thirdparty/download-thirdparty.sh | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/thirdparty/build-thirdparty.sh b/thirdparty/build-thirdparty.sh
index 1f376d0d68..c8459fbc1b 100755
--- a/thirdparty/build-thirdparty.sh
+++ b/thirdparty/build-thirdparty.sh
@@ -812,7 +812,7 @@ build_brpc() {
     LDFLAGS="${ldflags}" \
         "${CMAKE_CMD}" -G "${GENERATOR}" -DBUILD_SHARED_LIBS=1 -DWITH_GLOG=ON 
-DCMAKE_INSTALL_PREFIX="${TP_INSTALL_DIR}" \
         -DCMAKE_LIBRARY_PATH="${TP_INSTALL_DIR}/lib64" 
-DCMAKE_INCLUDE_PATH="${TP_INSTALL_DIR}/include" \
-        -DBUILD_BRPC_TOOLS=OFF \
+        -DBUILD_BRPC_TOOLS=OFF -DBUILD_SHARED_LIBS=OFF \
         -DPROTOBUF_PROTOC_EXECUTABLE="${TP_INSTALL_DIR}/bin/protoc" ..
 
     "${BUILD_SYSTEM}" -j "${PARALLEL}"
diff --git a/thirdparty/download-thirdparty.sh 
b/thirdparty/download-thirdparty.sh
index 11908f3815..6a7e62d0b2 100755
--- a/thirdparty/download-thirdparty.sh
+++ b/thirdparty/download-thirdparty.sh
@@ -376,9 +376,9 @@ echo "Finished patching ${HYPERSCAN_SOURCE}"
 
 cd "${TP_SOURCE_DIR}/${AWS_SDK_SOURCE}"
 if [[ ! -f "${PATCHED_MARK}" ]]; then
-    if [[ "${AWS_SDK_SOURCE}" == "aws-sdk-cpp-1.9.211" ]]; then
-        if wget --no-check-certificate -q 
https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/aws-crt-cpp-1.9.211.tar.gz
 -O aws-crt-cpp-1.9.211.tar.gz; then
-            tar xzf aws-crt-cpp-1.9.211.tar.gz
+    if [[ "${AWS_SDK_SOURCE}" == "aws-sdk-cpp-1.9.272" ]]; then
+        if wget --no-check-certificate -q 
https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/aws-crt-cpp-1.9.272.tar.gz
 -O aws-crt-cpp-1.9.272.tar.gz; then
+            tar xzf aws-crt-cpp-1.9.272.tar.gz
         else
             bash ./prefetch_crt_dependency.sh
         fi


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to