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

   > Hi, @adonis0147 Thanks for your feedback, using MD5 for the incremental 
build is a generic idea, however, there is another problem to resolve -- how to 
manage the MD5 list? It seems that we still need to update the MD5 list 
manually, can you point out how it works in detail?
   
   We already have the MD5 list in 
[thirdparty/vars.sh](https://github.com/apache/doris/blob/master/thirdparty/vars.sh).
 We update this file when we want to update the third-parties. Therefore, we 
can write the MD5 to a file at a last place of each `build_xxx` function.
   
   > And, there is another case that sometimes Doris developers have to build 
**specific third-parties in a specific order** when some dependencies are 
updated and they require specific build order (one may rely on another, e.g. 
brpc relies on protubuf), it seems hard to resolve this problem by updating 
nothing but the `build-thirdparty.sh`?
   
   This problem is inevitable in both ways (either MD5 way or version counter 
way) if we want to support incremental installing. We should sort out the 
dependencies tree in our build script first. The reason is that it is hard for 
a developer to find out the dependencies when he want to upgrade a specific 
package only.
   


-- 
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