This is an archive of the discontinued LLVM Phabricator instance.

[runtimes] Don't set TARGET_TRIPLE in the runtimes
ClosedPublic

Authored by ldionne on Jul 14 2021, 12:58 PM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Restricted Project
Restricted Project
Commits
rG395271ad11b8: [runtimes] Simplify how we set the target triple
Summary

Instead of setting TARGET_TRIPLE ourselves in the runtimes, use it to
populate the various XXXX_TARGET_TRIPLE variables for each runtime
project.

This re-applies 77396bbc98 and 5099e01568, which were reverted in
850b57c5fbe because they broke the build.

Diff Detail

Event Timeline

ldionne created this revision.Jul 14 2021, 12:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 14 2021, 12:58 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne requested review of this revision.Jul 14 2021, 12:58 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 14 2021, 12:58 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne updated this revision to Diff 359126.Jul 15 2021, 1:56 PM

Rebase onto main

ldionne accepted this revision.Jul 16 2021, 7:33 AM
This revision was not accepted when it landed; it landed in state Needs Review.Jul 16 2021, 7:34 AM
This revision was automatically updated to reflect the committed changes.