Compiling LLVM projects with Icecream and CCache

Hi,

I want to utilize multiple hosts for compiling an LLVM subproject (lldb).

To cache compilation results I want to use ccache and for distributed compilation I want to use icecream (not distcc).

What are the CMake flags and environment variables I need to touch in order to get this?

Cheers
Konrad

Use cmake -DCMAKE_CXX_COMPILER_LAUNCHER=/path/to/wrapper to use whatever wrapper you like. It could be your own shell script that combines ccache and icecc, or just icecc. I use it with gomacc: https://chromium.googlesource.com/infra/goma/client/+/master/README.md