sccache [1] is one of the few ccache like solutions that will
work on windows.
Most changes are minor, biggest one is the debug symbol format
ZI stores the symbols in a central .pdb file which makes caching
impossible, Z7 stores it in the actual object files. The only big
thing this breaks is edit & continue but given that's not supported
for ninja anyhow, that is a non issue.
Second change is sccache seeing the experimental options as
something it can't cache, known issue and fix available just
not in any released version yet. [2]
Full build no cache 1428.90s (100.00%) Full build cached 434.34s ( 30.40%)
I was hoping for better performance, still if I can shave off
17 minutes of every GSOC GA build this summer on a nightly basis
I'd be pretty pleased. The build bots may benefit from this as
well, but we'd have to switch the builds from msbuild to ninja
I consider usage of sccache and advanced use and have purposely
not added it to the help.
[1] https://github.com/mozilla/sccache
[2] https://github.com/mozilla/sccache/pull/724