Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Poison ccache and sccache
To:
Klemens Nanni <kn@openbsd.org>
Cc:
"Anthony J. Bentley" <bentley@openbsd.org>, ports@openbsd.org
Date:
Wed, 9 Sep 2026 18:27:11 +0100

Download raw body.

Thread
On 2026/09/09 17:22, Klemens Nanni wrote:
> 09.09.2026 13:59, Anthony J. Bentley пишет:
> > There are probably still several ports with hidden deps on ccache.
> > This should catch them.
> > 
> > If upstream has a knob to turn off ccache, the port should use it.
> 
> We could also add a few likely candidates to configure args by default,
> say -DCCACHE=OFF, -CCACHE_Found=FALSE, etc.
> 
> > If there isn't one, we can at least add an explicit build dependency.
> 
> I'm not convinced we should help the port(er) use ccache(1) directly.
> 
> Rather all usage should go through USE_CCACHE, which does warn if the
> package is missing.

another approach might be to set CCACHE_DIR etc always, and just have
it so that USE_CCACHE controls whether the compiler links are placed...