Added a flag @llvm-project//llvm:targets to control which LLVM targets are
built at compile time:
$ bazel build --@llvm-projectllvm:targets=AArch64,X86 --config=generic_clang @llvm-project...
Differential D115053
[Bazel] Switch LLVM targets based on configuration flags. izuk on Dec 3 2021, 10:40 AM. Authored by
Details
Added a flag @llvm-project//llvm:targets to control which LLVM targets are $ bazel build --@llvm-projectllvm:targets=AArch64,X86 --config=generic_clang @llvm-project...
Diff Detail
Event TimelineComment Actions This overall seems like an improvement. Some thoughts:
Comment Actions I tried to address all the documentation comments.
|
Can you include an example usage, as you have in the patch description here?