Yesterday I published sccache 0.2 to crates.io, so you can now `cargo install sccache` and get the latest version (it'll install to ~/.cargo/bin). If you build Firefox on Linux or OS X you can (and should) use sccache in place of ccache for local development. It's as simple as adding this to your mozconfig (assuming sccache is in your $PATH):
ac_add_options --with-ccache=sccache The major benefit you gain over ccache is that sccache can cache Rust compilation as well, and the amount of Rust code we're adding to Firefox is growing quickly. (We're on track to enable building Stylo by default soon, which will add quite a bit of Rust.) On my several-year-old Linux machine (Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz, 32GB, SSD), if I build; clobber; build with sccache enabled the second (fully-cached) build completes in just over 4 minutes: 4:11.92 Overall system resources - Wall time: 252s; CPU: 69%; Read bytes: 491520; Write bytes: 6626512896; Read time: 60; Write time: 1674852 sccache still isn't completely straightforward to use on Windows[1] but I aim to fix that this quarter so that using it there will be just as simple as on other platforms. -Ted 1. https://bugzilla.mozilla.org/show_bug.cgi?id=1318370 _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform