Page MenuHomePhabricator

[gn build] allow setting clang_base_path to a source-absolute path
ClosedPublic

Authored by thakis on Mar 4 2021, 4:11 PM.

Details

Summary

With this, you can set clang_base_path = "//out/gn1" in out/gn2/args.gn and the build in out/gn2 will use clang and lld from out/gn1.

Setting clang_base_path to an absolute path (with e.g. clang_base_path = getenv("HOME") + "/src/...") should behave as before.

Diff Detail

Event Timeline

thakis requested review of this revision.Mar 4 2021, 4:11 PM
thakis created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMar 4 2021, 4:11 PM
aeubanks accepted this revision.Mar 4 2021, 6:10 PM
This revision is now accepted and ready to land.Mar 4 2021, 6:10 PM
This revision was landed with ongoing or failed builds.Mar 5 2021, 9:14 AM
This revision was automatically updated to reflect the committed changes.