[llvm] [bazel] Fix llvm:Core build (PR #99054)
Chenguang Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 16 08:50:30 PDT 2024
https://github.com/wecing created https://github.com/llvm/llvm-project/pull/99054
According to @akuegel, this breakage was introduced in c05126bd.
>From 4e74d8924173a5094af41fe58613d67ff34f2693 Mon Sep 17 00:00:00 2001
From: Chenguang Wang <chenguangwang at google.com>
Date: Tue, 16 Jul 2024 08:48:39 -0700
Subject: [PATCH] [bazel] Fix llvm:Core build
According to @akuegel, this breakage was introduced in c05126bd.
---
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
index 64d36c7b7f664..ae17746c72882 100644
--- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -947,7 +947,14 @@ cc_library(
]) + [
# To avoid a dependency cycle.
"include/llvm/Analysis/IVDescriptors.h",
- ],
+ "include/llvm/CodeGen/GenVT.inc",
+ ] + glob(
+ # To avoid a dependency cycle.
+ [
+ "include/llvm/CodeGen/**/*.h",
+ "include/llvm/CodeGenTypes/**/*.h",
+ ],
+ ),
hdrs = glob(
[
"include/llvm/*.h",
More information about the llvm-commits
mailing list