[PATCH] D111974: Fix bazel build.
Adrian Kuegel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 18 00:39:38 PDT 2021
akuegel created this revision.
akuegel requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This is a temporary fix, better would be to avoid including
llvm/Option/ArgList.h from a Support source file.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D111974
Files:
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Index: utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -174,6 +174,8 @@
"lib/Support/*.cpp",
"lib/Support/*.h",
"lib/Support/*.inc",
+ # To avoid a dependency cycle.
+ "include/llvm/Option/ArgList.h",
]) + select({
"@bazel_tools//src/conditions:windows": glob([
"lib/Support/Windows/*.h",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111974.380286.patch
Type: text/x-patch
Size: 538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211018/88f094ee/attachment.bin>
More information about the llvm-commits
mailing list