[PATCH] [DOCS] How to Add a Builder

Reid Kleckner rnk at google.com
Wed Nov 13 21:43:27 PST 2013


IMO ccache is unnecessary if you use cmake+ninja.  They actually track
header dependencies well, so as long as you don't clean your build
directory, you'll have fast, correct incremental builds.  ccache won't save
much in that situation because the preprocessed source will actually be
different.


On Wed, Nov 13, 2013 at 9:12 PM, Mikael Lyngvig <mikael at lyngvig.org> wrote:

> Hi,
>
> The patch basically tells that ccache is very usable for low-end Linux
> systems and briefly how to get going using ccache (one special option is
> needed, thanks to Dimitri Gribenko, for sharing this).
>
> On my ARMv7 a repeat clean build takes less than 1/3rd the time of the
> initial clean build.  So it is definitely something that the slow builders
> can benefit from.  A build time of 36 minutes was reduced to approximately
> 11.5 minutes.
>
> I suspect it might better be put in the GettingStarted document, but I
> need feedback on this.
>
> If anybody dislikes the idea of putting this patch in the LLVM
> documentation, then please think of the fact that LLVM benefits greatly
> from the builders doing their job as fast as at all possible.
>
>
> -- Mikael
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131113/193f7760/attachment.html>


More information about the llvm-commits mailing list