Index | Thread | Search

From:
"Anthony J. Bentley" <bentley@openbsd.org>
Subject:
Re: Poison ccache and sccache
To:
Klemens Nanni <kn@openbsd.org>
Cc:
ports@openbsd.org
Date:
Thu, 10 Sep 2026 04:54:11 -0600

Download raw body.

Thread
Klemens Nanni writes:
> 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.

There's no standard name for these though. Currently the only variables
cmake.port.mk sets are CMAKE_* prefixed variables or language variables
used by cmake's built-in language modules. It would be confusing for the
module to try a bunch of random variable names not standardized anywhere
in hopes of catching the random names individual ports use for ccache.