This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Initialize our header search using the host triple.
ClosedPublic

Authored by jlebar on Nov 16 2016, 4:59 PM.

Details

Summary

This used to work because system headers are found in a (somewhat)
predictable set of locations on Linux. But this is not the case on
MacOS; without this change, we don't look in the right places for our
headers when doing device-side compilation on Mac.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 78290.Nov 16 2016, 4:59 PM
jlebar retitled this revision from to [CUDA] Initialize our header search using the host triple..
jlebar updated this object.
jlebar added a reviewer: tra.
jlebar added a subscriber: cfe-commits.
tra accepted this revision.Nov 17 2016, 12:45 PM
tra edited edge metadata.
This revision is now accepted and ready to land.Nov 17 2016, 12:45 PM
This revision was automatically updated to reflect the committed changes.