Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2026 16:23:34 +0100
From:      Bugs Beastie <bugsbeastie@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Using ccache on CURRENT
Message-ID:  <01ead14d-c9e7-455f-aa23-a31769221767@gmail.com>

index | next in thread | raw e-mail

Hi fellow CURRENT users!

I am trying to follow CURRENT on the desktop system. My typical upgrade path is to update base and then ports/packages. Having monsters like ungoogled-chromium, signal-desktop built upon electron, and libreoffice results in the build times around one week! %)

I have tried to plug ccache in, but it seems not to help much! My understanding is that ccache uses hashes of both the sources AND the compilers to store the results. If I recompile the base system each upgrade, the old hashes are gone! Do I understand it correctly?

Are there any tricks around to still get ccache working? Something like activating reproducible builds in base (and ports)? The actual changes of both system and port compilers are not that often!


Thank you in advance,
Alexey


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01ead14d-c9e7-455f-aa23-a31769221767>