Re: [PATCH] Makefile: let ccache cache objects built with the precompiled header
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Oct 28, 2026, 07:34 UTC
- Message-ID
- <auGln4usFADtcUPB@pks.im>
- In-Reply-To
- <CALnO6CDpsQtAX0rHr9Cuot08K4j_6WMpiPOKA38sjDbWB-wj7A@mail.gmail.com>
On Tue, Oct 27, 2026 at 05:57:38PM -0400, D. Ben Knoble wrote:
Show 11 quoted lines
> On Tue, Oct 27, 2026 at 4:00 PM Harald Nordgren > <haraldnordgren@gmail.com> wrote: > > > > > And, what about Meson? > > > > I think it's not touched by this? My goal is just to speed up my local builds. > > Yeah, it'd generally be nice to keep the 2 on par though ;) > > I don't know enough about our pch infra, though, so I'll bow out from > here. Just thought maybe we should make Meson do the same?
As Meson auto-detects ccache I'd think that stuff like this should rather be handled in Meson itself. I e.g. found [1], which feels like the right direction to me.
But if somebody wants to implement this in our instructions meanwhile I won't complain.
Patrick
[1]: https://github.com/mesonbuild/meson/issues/14662