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

   > > 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 the 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.
   
   @adonis0147  
   Thanks for the information.
   I might not clearly declare that **this PR solves the second problem 
(partial build with specific order)** I mentioned in my previous comment, which 
I haven't figured out how to do with the existing MD5 list, it may take a long 
time to find a perfect solution, things may suddenly get too complicated. The 
proposed solution is evolvable.
   Is it OK with you that we support the MD5 thing in the future, just as I 
commented in the resolved conversation?
   
   > I suggest making it another individual PR to improve it, downloading is 
actually not a problem, for now, the build is.
   > And updating version.txt is the obligation of whoever makes changes to the 
third-party, isn't it?
   


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