This is an archive of the discontinued LLVM Phabricator instance.

[gn build] Use -I= instead of explicitly handling sysroot
AcceptedPublic

Authored by thakis on May 23 2022, 9:29 AM.

Details

Reviewers
aeubanks
Summary

See e.g. de87e5f87565b787 for some more information on -I=.

No intended behavior change.

Diff Detail

Event Timeline

thakis created this revision.May 23 2022, 9:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 23 2022, 9:29 AM
thakis requested review of this revision.May 23 2022, 9:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 23 2022, 9:29 AM
aeubanks accepted this revision.May 23 2022, 9:34 AM

what about setting $sysroot to $sdk_path in llvm/utils/gn/build/BUILD.gn?

This revision is now accepted and ready to land.May 23 2022, 9:34 AM