This is an archive of the discontinued LLVM Phabricator instance.

[Driver][RISCV] Add RedHat Linux RISC-V triple
ClosedPublic

Authored by luismarques on Feb 11 2020, 5:30 AM.

Details

Summary

Adds the RedHat Linux triple to the list of 64-bit RISC-V triples. Without this the gcc libraries wouldn't be found by clang on a redhat/fedora system, as the search list included /usr/lib/gcc/riscv64-redhat-linux-gnu but the correct path didn't include the -gnu suffix.

Diff Detail

Event Timeline

luismarques created this revision.Feb 11 2020, 5:30 AM
lenary accepted this revision.Feb 11 2020, 5:57 AM

LGTM!

This revision is now accepted and ready to land.Feb 11 2020, 5:57 AM

passing-by remark: tests missing

Adds a test (using the RISC-V Fedora 31 paths).

Correct paths.

This revision was automatically updated to reflect the committed changes.
rkruppe removed a subscriber: rkruppe.Sep 29 2021, 8:48 AM