Skip to content

Commit

Permalink
[OpenACC][Bazel] Added OpenACCOpsInterfaces to BUILD.bazel file (#68639)
Browse files Browse the repository at this point in the history
Added OpenACCOpsInterfaces and correct dependencies to the BUILD.bazel
file.
  • Loading branch information
bviyer authored Oct 9, 2023
1 parent eb60143 commit 3684f6a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9031,6 +9031,7 @@ td_library(
"include/mlir/Dialect/OpenACC/AccCommon.td",
"include/mlir/Dialect/OpenACC/OpenACCBase.td",
"include/mlir/Dialect/OpenACC/OpenACCOps.td",
"include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.td",
"include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td",
"include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.td",
"include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.td",
Expand All @@ -9042,6 +9043,25 @@ td_library(
],
)


gentbl_cc_library(
name = "OpenACCOpsInterfacesIncGen",
tbl_outs = [
(
["-gen-op-interface-decls"],
"include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.h.inc",
),
(
["-gen-op-interface-defs"],
"include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.cpp.inc",
),
],
tblgen = ":mlir-tblgen",
td_file = "include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.td",
deps = [":OpenAccOpsTdFiles"],
)


gentbl_cc_library(
name = "OpenACCOpsIncGen",
tbl_outs = [
Expand Down Expand Up @@ -9173,6 +9193,7 @@ cc_library(
":LLVMDialect",
":MemRefDialect",
":OpenACCOpsIncGen",
":OpenACCOpsInterfacesIncGen",
":OpenACCTypeInterfacesIncGen",
":OpenACCTypesIncGen",
":Transforms",
Expand Down

0 comments on commit 3684f6a

Please sign in to comment.