[PATCH] D110900: Triple: Add RedHat vendor

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 5 22:39:39 PDT 2021


tstellar added a comment.

In D110900#3041312 <https://reviews.llvm.org/D110900#3041312>, @tstellar wrote:

> @hvdijk There are two things I'm trying to fix with this patch:
>
> 1. I want a triple that behaves the same as gcc's x86_64-redhat-linux and can also be used to select the gcc install at /usr/lib/x86_64-redhat-linux
> 2. I want to be able to use gcc -dumpmachine to determine the host architecture rather than config.guess.
>
> I really want to fix 1, but if I can fix 2 too that would be a bonus.
>
> Another solution for 1 (but not 2), would be to update the driver to select the x86_64-redhat-linux gcc install when the triple is x86_64-redhat-linux-gnu.   Do you think this would be better?

Here is an implementation of this other solution: D111207 <https://reviews.llvm.org/D111207>


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110900



More information about the llvm-commits mailing list