This is an archive of the discontinued LLVM Phabricator instance.

Remove explicit LLVM ccache-ing
ClosedPublic

Authored by dyung on Dec 14 2022, 11:26 AM.

Details

Summary

I want to use ccache with icecream to distribute builds to a spare machine on my network, but explicitly building with -DLLVM_CCACHE_BUILD=ON doesn't work with it. I found that if I disabled that I can put the ccache version of the compiler on the path which gets used and then instruct ccache to use icecc to build allowing me to use both.

Diff Detail

Event Timeline

dyung created this revision.Dec 14 2022, 11:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 14 2022, 11:26 AM
dyung requested review of this revision.Dec 14 2022, 11:26 AM
gkistanova accepted this revision.Dec 14 2022, 12:14 PM

Interesting.
Could you tell me how ccache with icecream will work for you with a real load after a few weeks of working, please?

The patch looks good.

This revision is now accepted and ready to land.Dec 14 2022, 12:14 PM