[ccache] Speeding up builds with clang-tidy, clang-analyzer and iwyu
joel at rosdahl.net
Sun Aug 2 17:28:22 UTC 2020
On Sun, 2 Aug 2020 at 18:55, Christian Ledergerber via ccache
<ccache at lists.samba.org> wrote:
> To me it seems like the following should work:
> 1. try to use ccache
> 2. if no hit:
> - run clang-tidy
> - run clang
> For this I would need to know whether ccache generated a hit - lets say
> as return code of the executable.
I don't think there's a good way of accomplishing this without adding
code to ccache to optionally exit with failure on a cache miss. But it
would be easy to add it.
More information about the ccache