Re: Speeding up builds with clang-tidy, clang-analyzer and iwyu
Joel Rosdahl via ccache <[email protected]> Sun, 2 Aug 2020 19:28:22 +0200
| Newsgroups | gmane.comp.compilers.ccache |
|---|---|
| Message-ID | <CAK8D=pi4JCy5HMUR2C5J7KFSL2F2y7msC3pGYLV=MrxKdneOrg@mail.gmail.com> |
On Sun, 2 Aug 2020 at 18:55, Christian Ledergerber via ccache <[email protected]> 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. Regards, Joel