Skip to content

Commit 5754418

Browse files
authored
[bazel][mlir][acc] Port #164510 to bazel (#164717)
1 parent 515352b commit 5754418

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10161,6 +10161,22 @@ gentbl_cc_library(
1016110161
deps = [":PassBaseTdFiles"],
1016210162
)
1016310163

10164+
cc_library(
10165+
name = "OpenACCAnalysis",
10166+
srcs = glob(
10167+
[
10168+
"lib/Dialect/OpenACC/Analysis/*.cpp",
10169+
],
10170+
),
10171+
hdrs = glob(["include/mlir/Dialect/OpenACC/Analysis/*.h"]),
10172+
includes = ["include"],
10173+
deps = [
10174+
":IR",
10175+
":OpenACCDialect",
10176+
":Pass",
10177+
],
10178+
)
10179+
1016410180
cc_library(
1016510181
name = "OpenACCTransforms",
1016610182
srcs = glob(

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,7 @@ cc_library(
963963
"//mlir:FuncDialect",
964964
"//mlir:IR",
965965
"//mlir:MemRefDialect",
966+
"//mlir:OpenACCAnalysis",
966967
"//mlir:OpenACCDialect",
967968
"//mlir:Pass",
968969
"//mlir:Support",

0 commit comments

Comments
 (0)