This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
commit 19f1f37433855f477b81b24834a43cd29d3c213e Author: Qi Chen <[email protected]> AuthorDate: Sun Apr 9 08:52:48 2023 +0800 [Optimize](mutlti-catalog) Opt zlib performance by adding '-O3' cflags. (#18488) Opt zlib performance by adding '-O3' cflags. From orc' reader test, it has 2.5x performance boost. --- thirdparty/build-thirdparty.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/build-thirdparty.sh b/thirdparty/build-thirdparty.sh index 289856cc29..9b9642fff2 100755 --- a/thirdparty/build-thirdparty.sh +++ b/thirdparty/build-thirdparty.sh @@ -557,7 +557,7 @@ build_zlib() { check_if_source_exist "${ZLIB_SOURCE}" cd "${TP_SOURCE_DIR}/${ZLIB_SOURCE}" - CFLAGS="-fPIC" \ + CFLAGS="-O3 -fPIC" \ CPPFLAGS="-I${TP_INCLUDE_DIR}" \ LDFLAGS="-L${TP_LIB_DIR}" \ ./configure --prefix="${TP_INSTALL_DIR}" --static --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
