Also sprach p...@paul.cx:
I'm using this setup daily (with clang trunk from some weeks ago,
not 5.0, but it's the same really), here is my mozconfig:
```
export CC="icecc clang"
export CXX="icecc clang++"
mk_add_options MOZ_MAKE_FLAGS="-j100" # adjust, this is good for the
paris office
mk_add_options 'export RUSTC_WRAPPER=sccache'
mk_add_options 'export CARGO_INCREMENTAL=1'
```
I use this in the London office:
mk_add_options MOZ_MAKE_FLAGS="-j90"
mk_add_options 'export RUSTC_WRAPPER=sccache'
mk_add_options 'export CCACHE_PREFIX=icecc'
export CC=/usr/lib/icecc/bin/cc
export CXX=/usr/lib/icecc/bin/c++
But I sense there is opportunity to abstract some of this complexity
away in the build system once sccache gets integrated properly. (Is
there a plan to make it mandatory? Could it replace ccache for
C++?)
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform