diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel --- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel +++ b/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/*.h", ]) + select({ "@bazel_tools//src/conditions:windows": glob([ "lib/Support/Windows/*.h",