Konrad Kleine via llvm-dev
2019-Sep-10 12:50 UTC
[llvm-dev] 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190910/e25a89eb/attachment.html>
Reid Kleckner via llvm-dev
2019-Sep-10 17:35 UTC
[llvm-dev] Compiling LLVM projects with Icecream and CCache
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 On Tue, Sep 10, 2019 at 5:50 AM Konrad Kleine via llvm-dev < llvm-dev at lists.llvm.org> wrote:> 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 > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190910/029a49f2/attachment.html>