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

morningman pushed a commit to branch doris-for-zhongjin
in repository https://gitbox.apache.org/repos/asf/doris.git

commit ae2f708eb604aeef3893ee2ebd5bc73c1a2cf11f
Author: morningman <morning...@163.com>
AuthorDate: Sun Apr 9 12:48:35 2023 +0800

    [zhongjin] update deps and use libz with O3
---
 be/CMakeLists.txt                       | 2 +-
 thirdparty/build-thirdparty-for-tbds.sh | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/be/CMakeLists.txt b/be/CMakeLists.txt
index 62e0f3bd79..c507daa258 100644
--- a/be/CMakeLists.txt
+++ b/be/CMakeLists.txt
@@ -235,7 +235,7 @@ add_library(libbz2 STATIC IMPORTED)
 set_target_properties(libbz2 PROPERTIES IMPORTED_LOCATION 
${THIRDPARTY_DIR}/lib/libbz2.a)
 
 add_library(libz STATIC IMPORTED)
-set_target_properties(libz PROPERTIES IMPORTED_LOCATION 
${THIRDPARTY_DIR}/lib/libz.a)
+set_target_properties(libz PROPERTIES IMPORTED_LOCATION 
${THIRDPARTY_DIR}/../libz.a)
 
 add_library(crypto STATIC IMPORTED)
 set_target_properties(crypto PROPERTIES IMPORTED_LOCATION 
${THIRDPARTY_DIR}/lib/libcrypto.a)
diff --git a/thirdparty/build-thirdparty-for-tbds.sh 
b/thirdparty/build-thirdparty-for-tbds.sh
index 3ac9a0f29a..0ae29d70a8 100755
--- a/thirdparty/build-thirdparty-for-tbds.sh
+++ b/thirdparty/build-thirdparty-for-tbds.sh
@@ -41,11 +41,13 @@ TBDS_HADOOP=hadoop-2.2.0.0-2041-tbds-5.2.0.1.tar.xz
 THIRDPARTY_INSTALLED=installed-for-tbds-with-thrift13.tar.xz
 HIVE_SHADE=tbds-hive-shade-1.0.1-SNAPSHOT.jar
 HADOOP_SHADE=tbds-hadoop-shade-1.0.1-SNAPSHOT.jar
+LIBZ_O3=libz.a
 
 wget --no-check-certificate "${DOWNLOAD_LINK}/${THIRDPARTY_INSTALLED}" -O 
"${TP_DIR}/${THIRDPARTY_INSTALLED}"
 wget --no-check-certificate "${DOWNLOAD_LINK}/${TBDS_HADOOP}" -O 
"${TP_DIR}/${TBDS_HADOOP}"
 wget --no-check-certificate "${DOWNLOAD_LINK}/${HIVE_SHADE}" -O 
"${TP_DIR}/${HIVE_SHADE}"
 wget --no-check-certificate "${DOWNLOAD_LINK}/${HADOOP_SHADE}" -O 
"${TP_DIR}/${HADOOP_SHADE}"
+wget --no-check-certificate "${DOWNLOAD_LINK}/${LIBZ_O3}" -O 
"${TP_DIR}/${LIBZ_O3}"
 
 echo "Install thirdparties..."
 tar xf "${TP_DIR}/${THIRDPARTY_INSTALLED}"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to