[PATCH] D104969: [Bazel] Rework LLVM target selection
Geoffrey Martin-Noble via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 25 22:29:39 PDT 2021
GMNGeoffrey created this revision.
GMNGeoffrey requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch introduces a custom rule for expanding the LLVM target
enumeration .def files. This provides a slightly cleaner API for these
rules, but is mostly to permit selects to be used when determining which
LLVM targets to build. Right now the target list is generated at Bazel
configure time, but this will allows us to add functionality to also
control which targets are built based on config settings.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104969
Files:
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
utils/bazel/llvm-project-overlay/llvm/enum_targets_gen.bzl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104969.354647.patch
Type: text/x-patch
Size: 4827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210626/b9a2da73/attachment.bin>
More information about the llvm-commits
mailing list