Re: [ccache] Speeding up builds with clang-tidy, clang-analyzer and iwyu

2020-08-17 Thread Christian Ledergerber via ccache
Hi Joel, 1. The solution will require a specific ccache version to work at all. True, a good implementation should warn about a too old ccache version and fail or fall back to running clang-tidy always. 2. The method of using ccache to probe whether clang-tidy should be run won't work for

Re: [ccache] Speeding up builds with clang-tidy, clang-analyzer and iwyu

2020-08-02 Thread Christian Ledergerber via ccache
me to look more into this in two weeks. Regards, Christian On 02.08.20 19:28, Joel Rosdahl wrote: On Sun, 2 Aug 2020 at 18:55, Christian Ledergerber via ccache 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 th

[ccache] Speeding up builds with clang-tidy, clang-analyzer and iwyu

2020-08-02 Thread Christian Ledergerber via ccache
Hi All, for our builds currently clang-tidy is currently the limiting factor in terms of speed. There is one utility out there which tries to cache the output of clang-tidy, however it seems to be stale: https://github.com/ejfitzgerald/clang-tidy-cache Yet, I have the impression that my

Re: [ccache] Speeding up builds with clang-tidy, clang-analyzer and iwyu

2020-08-14 Thread Christian Ledergerber via ccache
I have created the following issue for cmake to launch the discussion: https://gitlab.kitware.com/cmake/cmake/-/issues/21092 On 04.08.20 19:46, Joel Rosdahl wrote: On Sun, 2 Aug 2020 at 19:49, Christian Ledergerber via ccache wrote: In the mean-time I have been thinking some more and what I

Re: [ccache] Speeding up builds with clang-tidy, clang-analyzer and iwyu

2020-12-06 Thread Christian Ledergerber via ccache
Speeding up builds with clang-tidy, clang-analyzer and iwyu Hi, On Sun, Aug 2, 2020 at 6:55 PM Christian Ledergerber via ccache < ccache@lists.samba.org> wrote: > for our builds currently clang-tidy is currently the limiting factor in > terms of speed. > > There is one utilit