[llvm-dev] RFC: Deprecate config.guess

Tom Stellard via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 15 09:54:55 PDT 2021


Hi,

I was looking into fixing host detection (which is currently done using
config.guess) for my operating system and came across these old
reviews[1][2] with objections to updating it due to its license.

If we can't update config.guess any more that I would like to propose that
we (eventually) remove it completely.

I've submitted this patch[3], which turns off config.guess by default
and tries to determine the host triple using the host compiler.  Given
all the different combinations for triples, I don't know if there is
any better way to test this than to turn it off and wait for the bug
reports.  My hope is that over time, we will be able to replace the
functionality from config.guess that users actually care about and
at some point we'll be able to remove config.guess completely.

Thanks,
Tom

[1] https://reviews.llvm.org/D55445
[2] https://reviews.llvm.org/D99625
[3] https://reviews.llvm.org/D109837



More information about the llvm-dev mailing list