[LLVMdev] ccache

David Tweed David.Tweed at arm.com
Wed May 29 22:34:37 PDT 2013


| Has anyone tried using ccache to speed up llvm testing?

Umm, what do you mean by "testing"? I've used ccache to help building from "clean" (particularly when building natively on slower low-power ARM machines) in order to shorten the test cycle. It worked quite well, with the issues primarily coming from "interactions" with other things:

1. If you're doing a ccache build tha'ts mostly unchanged you can bump up the number of parallel "complilations" but you generally need to stop too many links going on at the same time (due to LLVM/clang's size).

2. In t mostly unchanged state, ccache generally turns a CPU bound process into a storage-IO bound task.

But overall it's worthwhile _if_ you feel a need to rebuild from clean frequently.

Cheers,
Dave

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.





More information about the llvm-dev mailing list