[llvm] Fix build past 4a582845597e97d245e8ffdc14281f922b835e56 (PR #79318)
Danial Klimkin via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 24 08:14:20 PST 2024
https://github.com/dklimkin created https://github.com/llvm/llvm-project/pull/79318
and keep things sorted.
>From 23fbbacd64b61bd38122523e01020463e8d398fd Mon Sep 17 00:00:00 2001
From: Danial Klimkin <dklimkin at users.noreply.github.com>
Date: Wed, 24 Jan 2024 17:13:18 +0100
Subject: [PATCH] Fix build past 4a582845597e97d245e8ffdc14281f922b835e56
---
.../llvm-project-overlay/clang/BUILD.bazel | 66 +++++++++----------
1 file changed, 31 insertions(+), 35 deletions(-)
diff --git a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
index 63838b2b980416b..dda6d9460d582ef 100644
--- a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
@@ -306,6 +306,34 @@ gentbl(
],
)
+gentbl(
+ name = "basic_builtins_bpf_gen",
+ tbl_outs = [(
+ "-gen-clang-builtins",
+ "include/clang/Basic/BuiltinsBPF.inc",
+ )],
+ tblgen = ":clang-tblgen",
+ td_file = "include/clang/Basic/BuiltinsBPF.td",
+ td_srcs = [
+ "include/clang/Basic/BuiltinsBPF.td",
+ "include/clang/Basic/BuiltinsBase.td",
+ ],
+)
+
+gentbl(
+ name = "basic_builtins_gen",
+ tbl_outs = [(
+ "-gen-clang-builtins",
+ "include/clang/Basic/Builtins.inc",
+ )],
+ tblgen = ":clang-tblgen",
+ td_file = "include/clang/Basic/Builtins.td",
+ td_srcs = [
+ "include/clang/Basic/Builtins.td",
+ "include/clang/Basic/BuiltinsBase.td",
+ ],
+)
+
gentbl(
name = "basic_riscv_vector_builtins_gen",
tbl_outs = [(
@@ -477,38 +505,6 @@ gentbl(
],
)
-gentbl(
- name = "basic_builtins_gen",
- tbl_outs = [
- (
- "-gen-clang-builtins",
- "include/clang/Basic/Builtins.inc",
- ),
- ],
- tblgen = ":clang-tblgen",
- td_file = "include/clang/Basic/Builtins.td",
- td_srcs = [
- "include/clang/Basic/Builtins.td",
- "include/clang/Basic/BuiltinsBase.td",
- ],
-)
-
-gentbl(
- name = "basic_builtins_bpf_gen",
- tbl_outs = [
- (
- "-gen-clang-builtins",
- "include/clang/Basic/BuiltinsBPF.inc",
- ),
- ],
- tblgen = ":clang-tblgen",
- td_file = "include/clang/Basic/BuiltinsBPF.td",
- td_srcs = [
- "include/clang/Basic/BuiltinsBase.td",
- "include/clang/Basic/BuiltinsBPF.td",
- ],
-)
-
gentbl(
name = "libsema_openclbuiltins_inc_gen",
strip_include_prefix = "lib/Sema",
@@ -610,8 +606,6 @@ cc_library(
]),
hdrs = glob([
"include/clang/Basic/*.h",
- "include/clang/Basic/Builtins.inc",
- "include/clang/Basic/BuiltinsBPF.inc",
]),
copts = [
"-DHAVE_VCS_VERSION_INC",
@@ -660,8 +654,8 @@ cc_library(
":basic_arm_sve_builtins_gen",
":basic_arm_sve_typeflags_gen",
":basic_attr_gen",
- ":basic_builtins_gen",
":basic_builtins_bpf_gen",
+ ":basic_builtins_gen",
":basic_internal_headers",
":basic_riscv_sifive_vector_builtins_gen",
":basic_riscv_vector_builtin_cg_gen",
@@ -978,6 +972,7 @@ cc_library(
":ast_stmt_nodes_gen",
":ast_type_properties_gen",
":basic",
+ ":basic_builtins_gen",
":lex",
":type_nodes_gen",
"//llvm:BinaryFormat",
@@ -1123,6 +1118,7 @@ cc_library(
":basic_arm_sve_builtins_gen",
":basic_arm_sve_sema_rangechecks_gen",
":basic_arm_sve_streaming_attrs_gen",
+ ":basic_builtins_gen",
":basic_riscv_sifive_vector_builtin_sema_gen",
":basic_riscv_vector_builtin_sema_gen",
":edit",
More information about the llvm-commits
mailing list