[PATCH] D109837: cmake: Remove config.guess

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 22 18:35:34 PDT 2021


MaskRay added a comment.

Perhaps the description can mention the cost we'd incur if we took the "fixing config.guess" approach:

linux-musl, suse-linux, redhat-linux, and every Linux distro which customizes the 'vendor' part need to be fixed. The approach would involve poking around /etc/os-release and perhaps other random files.
As concrete examples: these are all incorrect `x86_64-alpine-linux-musl, aarch64-suse-linux-gnu, powerpc64le-redhat-linux-gnu, i586-pc-haiku`

The diff with the upstream version has 2000 lines FWIW :)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109837/new/

https://reviews.llvm.org/D109837



More information about the llvm-commits mailing list