Skip to content

Commit

Permalink
Fix bazel build past abd9534 (llvm#96143)
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimkin authored Jun 20, 2024
1 parent cc145f4 commit 1d1d007
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13783,12 +13783,39 @@ gentbl_cc_library(
deps = [":OpBaseTdFiles"],
)

gentbl_cc_library(
name = "DLTIAttrsIncGen",
tbl_outs = [
(
[
"-gen-attrdef-decls",
"-dialect=dlti",
],
"include/mlir/Dialect/DLTI/DLTIAttrs.h.inc",
),
(
[
"-gen-attrdef-defs",
"-dialect=dlti",
],
"include/mlir/Dialect/DLTI/DLTIAttrs.cpp.inc",
),
],
tblgen = ":mlir-tblgen",
td_file = "include/mlir/Dialect/DLTI/DLTIAttrs.td",
deps = [
":AttrTdFiles",
":DLTIDialectTdFiles",
],
)

cc_library(
name = "DLTIDialect",
srcs = glob(["lib/Dialect/DLTI/*.cpp"]),
hdrs = glob(["include/mlir/Dialect/DLTI/*.h"]),
includes = ["include"],
deps = [
":DLTIAttrsIncGen",
":DLTIBaseIncGen",
":DataLayoutInterfaces",
":IR",
Expand Down

0 comments on commit 1d1d007

Please sign in to comment.