adonis0147 commented on PR #12691:
URL: https://github.com/apache/doris/pull/12691#issuecomment-1256926409

   The workflow we update the third parties is described as follow:
   
   1. In `thirdparty/vars.sh`, we modify the corresponding information of some 
packages. Taking `BRPC` as an example, we update the following information:
       1. BRPC_DOWNLOAD
       2. BRPC_NAME
       3. BRPC_SOURCE
       4. BRPC_MD5SUM
   
   2. After that, we run `build-thirdparty.sh` and the updated version of these 
packages will be installed.
   
   The workaround to figure out the differences:
   1. At the last place of each `build_xxx` function, we write the 
corresponding MD5 to a specific file (e.g. `INSTALLED_VERSION`)
   2. Before we build the third parties, we calculate the different MD5 
checksums by comparing the MD5 in the file (e.g. `INSTALLED_VERSION`) and one 
in the newest `thirdparty/vars.sh`.
   3. We can build the packages which are found in step #2 incrementally.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to