[llvm] Bazel 8d292a7c4b952eb5e9c55ed54a17a25c85bd553c (PR #213661)
Walter Lee via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 3 06:01:57 PDT 2026
https://github.com/googlewalt created https://github.com/llvm/llvm-project/pull/213661
This fixes https://github.com/llvm/llvm-project/commit/8d292a7c4b952eb5e9c55ed54a17a25c85bd553c (https://github.com/llvm/llvm-project/pull/213265).
Buildkite error link: https://buildkite.com/llvm-project/upstream-bazel/builds?commit=8d292a7c4b952eb5e9c55ed54a17a25c85bd553c
>From 2af14f5ae39fe46ca9675fd8f0c4750ce81bdbb4 Mon Sep 17 00:00:00 2001
From: Google Bazel Bot <google-bazel-bot at google.com>
Date: Sun, 2 Aug 2026 08:03:57 +0000
Subject: [PATCH] Fix Bazel build for 8d292a7
Buildkite error link: https://buildkite.com/llvm-project/upstream-bazel/builds?commit=8d292a7c4b952eb5e9c55ed54a17a25c85bd553c
---
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel | 13 +++++++++++++
.../llvm-project-overlay/llvm/unittests/BUILD.bazel | 1 +
2 files changed, 14 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
index 940998fea0261..d4c712e0fb2c7 100644
--- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -4340,6 +4340,16 @@ gentbl_cc_library(
deps = [":OptParserTdFiles"],
)
+cc_library(
+ name = "orc_headers",
+ hdrs = glob([
+ "include/llvm/ExecutionEngine/Orc/**/*.h",
+ "include/llvm/ExecutionEngine/JITLink/**/*.h",
+ ]),
+ copts = llvm_copts,
+ features = ["-parse_headers"],
+)
+
cc_library(
name = "JITLink",
srcs = glob([
@@ -4431,6 +4441,7 @@ cc_library(
":TransformUtils",
":WindowsDriver",
":config",
+ ":orc_headers",
],
)
@@ -4458,6 +4469,7 @@ cc_library(
":Support",
":Target",
":config",
+ ":orc_headers",
],
)
@@ -4517,6 +4529,7 @@ cc_library(
":Target",
":TargetParser",
":config",
+ ":orc_headers",
],
)
diff --git a/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
index 2786a9d2bd813..643e0d4de2fd9 100644
--- a/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
@@ -429,6 +429,7 @@ cc_test(
"//llvm:TargetParser",
"//llvm:TestingSupport",
"//llvm:config",
+ "//llvm:orc_headers",
"//third-party/unittest:gtest",
"//third-party/unittest:gtest_main",
],
More information about the llvm-commits
mailing list