[all-commits] [llvm/llvm-project] 98c6d3: [gn build] allow setting clang_base_path to a sour...
Nico Weber via All-commits
all-commits at lists.llvm.org
Fri Mar 5 09:14:43 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 98c6d3194ed90217ca6ce7e451d31ea246d2afff
https://github.com/llvm/llvm-project/commit/98c6d3194ed90217ca6ce7e451d31ea246d2afff
Author: Nico Weber <thakis at chromium.org>
Date: 2021-03-05 (Fri, 05 Mar 2021)
Changed paths:
M llvm/utils/gn/build/toolchain/BUILD.gn
Log Message:
-----------
[gn build] allow setting clang_base_path to a source-absolute path
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.
Differential Revision: https://reviews.llvm.org/D97989
More information about the All-commits
mailing list