[llvm] [bazel] Unbreak bazel bot (PR #115016)

Pranav Kant via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 08:05:49 PST 2024


https://github.com/pranavk created https://github.com/llvm/llvm-project/pull/115016

Broken first by #114620

>From 30419401f9d26e38dfd5b806548d9fb3837a947a Mon Sep 17 00:00:00 2001
From: Pranav Kant <prka at google.com>
Date: Tue, 5 Nov 2024 15:57:14 +0000
Subject: [PATCH 1/2] [bazel] Add :support to ast target

---
 utils/bazel/llvm-project-overlay/clang/BUILD.bazel | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
index 6aa34a546a8cfb..91e7e0113aa02e 100644
--- a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
@@ -1020,6 +1020,7 @@ cc_library(
         ":basic",
         ":basic_builtins_gen",
         ":lex",
+        ":support",
         ":type_nodes_gen",
         "//llvm:BinaryFormat",
         "//llvm:Core",

>From 97f4de19e91a78c174f3eb0867ffc091b0e1a032 Mon Sep 17 00:00:00 2001
From: Pranav Kant <prka at google.com>
Date: Tue, 5 Nov 2024 16:04:52 +0000
Subject: [PATCH 2/2] [bazel] Undo #114620 partially

---
 utils/bazel/llvm-project-overlay/llvm/BUILD.bazel | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
index e99d6fc357574b..20447d59c1f92a 100644
--- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -23,6 +23,7 @@ licenses(["notice"])
 exports_files([
     "LICENSE.TXT",
     "cmake/modules/llvm-driver-template.cpp.in",
+    "include/llvm/BinaryFormat/Dwarf.def",
     "include/llvm/CodeGen/SDNodeProperties.td",
     "include/llvm/CodeGen/ValueTypes.td",
     "include/llvm/Frontend/Directive/DirectiveBase.td",



More information about the llvm-commits mailing list