This is an archive of the discontinued LLVM Phabricator instance.

[libc] Do not install to the default triple in GPU mode
ClosedPublic

Authored by jhuber6 on Jan 27 2023, 10:14 AM.

Details

Summary

Currently this logic causes the libcgpu.a to be installed to the
user's default triple. The GPU target isn't really true to this in a
cross-compiling sense so we should just default to the regular /lib
directory

Diff Detail

Event Timeline

jhuber6 created this revision.Jan 27 2023, 10:14 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 27 2023, 10:14 AM
jhuber6 requested review of this revision.Jan 27 2023, 10:14 AM

Side note, I'm going to try to get back into the libc work now that the fork has happened. Hopefully I'll have some actual testing running soon.

sivachandra accepted this revision.Jan 27 2023, 11:38 AM
This revision is now accepted and ready to land.Jan 27 2023, 11:38 AM
lntue accepted this revision.Jan 27 2023, 11:58 AM
This revision was automatically updated to reflect the committed changes.