Re: [libgpiod][WIP PATCH 0/2] Convert the build from autotools to meson

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux