user-agent-desktop icon indicating copy to clipboard operation
user-agent-desktop copied to clipboard

Enable sccache for local build

Open remusao opened this issue 3 years ago • 0 comments

The sccache project allows caching output of Rust/C/C++ compilation and is also integrated with the Firefox build system (but I assume disabled by default). It would be nice to set it up for local builds to speed-up compilation. It might require something like the following:

  1. Find out which mozconfig need to be used to enable sccache.
  2. Install sccache in Docker containers (we can reuse releases: https://github.com/mozilla/sccache/releases/tag/0.2.13).
  3. Mount sccache cache folder into .cache/sccache locally when invoking ./fern.js build.

remusao avatar Sep 02 '20 13:09 remusao