Skip to content

Commit 18991f4

Browse files
committed
[llvm][bazel] Port commit 5088231.
1 parent 153c6db commit 18991f4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,10 @@ gentbl_cc_library(
780780
tbl_outs = {"include/llvm/IR/RuntimeLibcalls.inc": ["-gen-runtime-libcalls"]},
781781
tblgen = ":llvm-min-tblgen",
782782
td_file = "include/llvm/IR/RuntimeLibcalls.td",
783-
deps = [":IRTdFiles"],
783+
deps = [
784+
":IRTdFiles",
785+
":TableGenTdFiles",
786+
],
784787
)
785788

786789
gentbl_cc_library(
@@ -1344,6 +1347,12 @@ td_library(
13441347
includes = ["include"],
13451348
)
13461349

1350+
td_library(
1351+
name = "TableGenTdFiles",
1352+
srcs = glob(["include/llvm/TableGen/*.td"]),
1353+
includes = ["include"],
1354+
)
1355+
13471356
td_library(
13481357
name = "CommonTargetTdFiles",
13491358
srcs = [":common_target_td_sources"],

0 commit comments

Comments
 (0)