[TUHS] Building programs (Re: Version 256 of systemd boasts '42% less Unix philosophy' The Register
Chet Ramey via TUHS
tuhs at tuhs.org
Sat Jun 22 02:07:27 AEST 2024
On 6/20/24 8:34 PM, Alexis wrote:
> Warner Losh <imp at bsdimp.com> writes:
>
>> Isn't that what thecautoconf cache is for?
>
> There's a cross-project cache? That is, a cache not just for the project
> for which autoconf was run, but for _all_ software built on that machine?
Well, `all' is pretty broad.
You can set some site-specific defaults:
https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Site-Defaults.html
and use a site-specific cache file:
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Cache-Files.html
This cache file can be written by every `configure' run, if you like. It's
just a shell script.
> (Over the decades i've regularly observed instances where autoconf doesn't
> seem to be making use of results of its previous runs for a particular
> project; i don't know if that's because the build maintainer didn't
> configure autoconf correctly.
You have to tell configure to use the cache file.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet at case.edu http://tiswww.cwru.edu/~chet/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://www.tuhs.org/pipermail/tuhs/attachments/20240621/f36b864a/attachment.sig>
More information about the TUHS
mailing list