On 11/14/13, 2:49 PM, Ehsan Akhgari wrote:
I've started to work on a project in my spare time to switch us to use
unified builds for C/C++ compilation.  The way that unified builds work is
by using the UNIFIED_SOURCES instead of the SOURCES variable in moz.build
files.  With that, the build system creates files such as:

This conversion will also decrease the benefit of ccache since any source file change now logically invalidates the TU for N other sources sharing the same unified source. Before, we could have 9/10 ccache hits and recompile 1/10 files. Now, we have 0/10 ccache hits and /effectively/ recompile 10/10 files.

However, I suspect the benefits of unified compilation outweigh the benefits of ccache for many developer workflows, so this shouldn't be a concern.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to