On 2017-03-07 2:49 PM, Eric Rahm wrote:
> I often wonder if unified builds are making things slower for folks who use
> ccache (I assume one file changing would mean a rebuild for the entire
> unified chunk), I'm not sure if there's a solution to that but it would be
> interesting to see if compiling w/o ccache is actually faster at this point.

Unified builds are the only way we build so this is only of theoretical
interest.  But at any rate, if your use case is building the tree once
every couple of days, you should definitely disable ccache with or
without unified builds.  ccache is only helpful for folks who end up
compiling the same code over and over again (for example, if you use
interactive rebase a lot, or if you switch between branches, or use
other VCS commands that touch the file modified times without changing
the dates and times.  Basically if you don't switch between branches a
lot and don't write a lot of C++ code, ccache probably hurts you more
than it helps you.

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to