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

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


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new aeaaa6614c9 [enhance](thirdparty) add boritli headers in thirdparty 
#42017 #42110 (#42178)
aeaaa6614c9 is described below

commit aeaaa6614c9e625fadf4e0b2819f46500db4b828
Author: Rayner Chen <morning...@163.com>
AuthorDate: Mon Oct 21 19:58:32 2024 +0800

    [enhance](thirdparty) add boritli headers in thirdparty #42017 #42110 
(#42178)
    
    cherry pick from #42017 #42110
    
    ---------
    
    Co-authored-by: Socrates <suxiaogang...@icloud.com>
---
 thirdparty/build-thirdparty.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/thirdparty/build-thirdparty.sh b/thirdparty/build-thirdparty.sh
index 9c8da6d4f38..f019f5f1e26 100755
--- a/thirdparty/build-thirdparty.sh
+++ b/thirdparty/build-thirdparty.sh
@@ -650,6 +650,13 @@ build_lzo2() {
     strip_lib liblzo2.a
 }
 
+# brotli
+build_brotli() {
+    check_if_source_exist "${BROTLI_SOURCE}"
+    # brotli has been builded in build_arrow, so just copy headers
+    cp -r "${TP_SOURCE_DIR}/${BROTLI_SOURCE}/c/include/brotli" 
"${TP_INCLUDE_DIR}/"
+}
+
 # curl
 build_curl() {
     check_if_source_exist "${CURL_SOURCE}"
@@ -1894,6 +1901,7 @@ if [[ "${#packages[@]}" -eq 0 ]]; then
         base64
         azure
         dragonbox
+        brotli
     )
     if [[ "$(uname -s)" == 'Darwin' ]]; then
         read -r -a packages <<<"binutils gettext ${packages[*]}"


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

Reply via email to