3 ms·
Should read this along with it: http://www.conifersystems.com/whitepapers/gnu-make/ http://www.conifersystems.com/whitepapers/gnu-make/ In my current very huge
by jhallenworld 12y ago
Should read this along with it: http://www.conifersystems.com/whitepapers/gnu-make/ http://www.conifersystems.com/whitepapers/gnu-make/
In my current very huge (takes hours to build) project at work there is a lot of voodoo around the amount of parallelism you can use. "make -j 4" seems OK, but "make -j 20" fails.
Of course, nobody wants to work on improving the build system.
- jgrahamc 12y agoSee also: The Pitfalls and Benefits of GNU Make Parallelization http://www.cmcrossroads.com/article/pitfalls-and-benefits-gnu-make-parallelization http://www.cmcrossroads.com/article/pitfalls-and-benefits-gn...
- hyc_symas 12y agoWhat's sad is that I wrote about this about 25 years ago when I first wrote gmake's -j feature. http://highlandsun.com/hyc/#Make http://highlandsun.com/hyc/#Make The Chrome/Ninja discussion reminds me of the old mess of X11 IMakefiles. Apparently nothing has really improved since then.