<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 20, 2024, 5:35 PM Alexis <<a href="mailto:flexibeast@gmail.com">flexibeast@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bakul Shah via TUHS <<a href="mailto:tuhs@tuhs.org" target="_blank" rel="noreferrer">tuhs@tuhs.org</a>> writes:<br>
<br>
> To build a set of objects you need to worry about at least the<br>
> following:<br>
> - build recipes for each of them (which may also depend on other<br>
> things)<br>
> - configuration parameters<br>
> - dealing with differences on each platform<br>
> - third party libraries & alternatives<br>
> - toolchains (& may be cross-platform builds)<br>
> - supporting/navigating different versions of the last 3 above<br>
><br>
> You can't really precompute all this as there are far too many<br>
> combinations and they keep changing.<br>
<br>
Both the blog author (who is a long-time sysadmin with many 'war <br>
stories') and myself understand all that.<br>
<br>
i believe the idea is not for precomputing to be done by _builds_, <br>
but to be done on and for a given machine and its configuration, <br>
independent of any specific piece of software, which is then <br>
_queried_ by builds. That precomputation would only need to be <br>
re-run when one of the things under its purview changes.<br>
<br>
If i compile something on one of my OpenBSD boxen in the morning, <br>
and then compile some other thing in the afternoon, without an OS <br>
upgrade in-between, autoconf isn't going to find that libc.so has <br>
changed in-between. If i did the same thing on my Gentoo box, it's <br>
theoretically possible that e.g. i've moved from glibc to musl <br>
in-between, but in that case, precomputation could be done in <br>
postinst (i.e. as part of the post-installation-of-musl process).<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Isn't that what thecautoconf cache is for?</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>