On Mon, Dec 05, 2022 at 07:55:29PM +0100, Bartosz Golaszewski wrote: > On Mon, Dec 5, 2022 at 2:22 PM Andrew Jeffery <andrew@xxxxxxxx> wrote: ... > > Meson defaults to using ninja as its backend, and automatically exploits > > ccache[2] when available to keep repeated builds speedy. ...which is a bad idea for a clean build. > It does show! Full rebuild with autotools: > > real 0m43,902s > user 2m40,010s > sys 0m20,172s > > Full rebuild with meson: > > real 0m10,001s > user 1m1,334s > sys 0m12,205s > > More than 4x faster now. And risk to have a badly formed binaries (yes, very little risk, but > 0). > > [2] https://ccache.dev/ ccache has downside of its own use. If we have a common storage for ccache -- the collision is just matter of time (yes, have seen that in real life). OTOH requiring per-project ccache storage makes a little sense for the end user as they quite likely won't rebuild it many times. -- With Best Regards, Andy Shevchenko