our sw takes ~1,5h with cold caches, with downloading deps and with parallelization where possible on a recent 32 core machines with 120gb of ram for fs caching 😂
Discussion
and thats without any testing whatsover...
Lol good to know. Is this corporate software or something public?
I've spent way too much time trying to parallelize and optimize my pipeline, I'm sure I could tweak some more but, diminishing returns. I already build my own build "orchestration" software to help with this.
https://www.vaughnnugent.com/resources/software/modules/vnbuild
It's a corporate sw.
with populated chaches it goes to 8-10 minutes when it does basically nothing then assembling the project parts. The average build with real code takes under 20 minutes.
I'd give gradle a try. C is not really a first class citizen, but it worked surprisgly well even for larger C projects for me. Batteries included (parallelization, compiling avoidance, local and thing remote caching)
Will take a look thanks!
Yeah compiling C is the bulk of the CPU time. The rest is probably in tar+gz and copying files around. My projects are mono repos with anywhere from 4-30 libraries that all have their own "independent" packages. The C# takes a while to but not as bad as the C libraries.