Skip to content

Commit c2a8490

Browse files
committed
[mlir][Bazel] Add missing dependencies.
When building with layering_check enabled, there needs to be a dependency for each header include.
1 parent fca52e8 commit c2a8490

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2988,6 +2988,7 @@ cc_library(
29882988
":ControlFlowInterfaces",
29892989
":DialectUtils",
29902990
":IR",
2991+
":InferTypeOpInterface",
29912992
":MemRefDialect",
29922993
":SideEffectInterfaces",
29932994
":Support",
@@ -5389,13 +5390,13 @@ cc_library(
53895390
includes = ["include"],
53905391
deps = [
53915392
":Analysis",
5393+
":ArithmeticDialect",
53925394
":ConversionPassIncGen",
53935395
":DataLayoutInterfaces",
53945396
":FuncDialect",
53955397
":IR",
53965398
":LLVMCommonConversion",
53975399
":LLVMDialect",
5398-
":ArithmeticDialect",
53995400
":MemRefDialect",
54005401
":Pass",
54015402
":Support",
@@ -7170,6 +7171,7 @@ cc_library(
71707171
":ArithmeticDialect",
71717172
":ArithmeticUtils",
71727173
":BufferizationDialect",
7174+
":ControlFlowInterfaces",
71737175
":CopyOpInterface",
71747176
":DialectUtils",
71757177
":FuncDialect",
@@ -8524,6 +8526,7 @@ cc_library(
85248526
":BufferizableOpInterfaceIncGen",
85258527
":BufferizationBaseIncGen",
85268528
":BufferizationOpsIncGen",
8529+
":CopyOpInterface",
85278530
":FuncDialect",
85288531
":IR",
85298532
":MemRefDialect",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ cc_library(
263263
"//mlir:LLVMDialect",
264264
"//mlir:LinalgInterfaces",
265265
"//mlir:LinalgOps",
266+
"//mlir:LoopLikeInterface",
266267
"//mlir:Pass",
267268
"//mlir:Reducer",
268269
"//mlir:SideEffects",
@@ -271,6 +272,7 @@ cc_library(
271272
"//mlir:TensorDialect",
272273
"//mlir:TransformUtils",
273274
"//mlir:Transforms",
275+
"//mlir:ViewLikeInterface",
274276
],
275277
)
276278

0 commit comments

Comments
 (0)