Skip to content

Commit c448bd8

Browse files
committed
[bazel][mlir] Add missing dependencies to //mlir/unittests/... targets.
1 parent 43b291c commit c448bd8

File tree

1 file changed

+11
-0
lines changed
  • utils/bazel/llvm-project-overlay/mlir/unittests

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ cc_test(
3939
]),
4040
deps = [
4141
"//llvm:Support",
42+
"//mlir:BytecodeReader",
4243
"//mlir:FunctionInterfaces",
4344
"//mlir:IR",
4445
"//mlir:Parser",
@@ -60,6 +61,7 @@ cc_test(
6061
deps = [
6162
"//llvm:Support",
6263
"//llvm:TestingSupport",
64+
"//mlir:BytecodeReader",
6365
"//mlir:ArithDialect",
6466
"//mlir:ControlFlowInterfaces",
6567
"//mlir:DLTIDialect",
@@ -120,6 +122,7 @@ cc_test(
120122
deps = [
121123
"//mlir:IR",
122124
"//mlir:Rewrite",
125+
"//mlir:SideEffectInterfaces",
123126
"//third-party/unittest:gtest",
124127
"//third-party/unittest:gtest_main",
125128
],
@@ -151,6 +154,7 @@ cc_test(
151154
"//llvm:TestingSupport",
152155
"//mlir:IR",
153156
"//mlir:MemRefDialect",
157+
"//mlir:SideEffectInterfaces",
154158
"//third-party/unittest:gtest",
155159
"//third-party/unittest:gtest_main",
156160
],
@@ -184,6 +188,7 @@ cc_test(
184188
"//mlir:IR",
185189
"//mlir:Parser",
186190
"//mlir:SCFDialect",
191+
"//mlir:SideEffectInterfaces",
187192
"//third-party/unittest:gtest",
188193
"//third-party/unittest:gtest_main",
189194
],
@@ -199,6 +204,7 @@ cc_test(
199204
deps = [
200205
"//llvm:Support",
201206
"//llvm:TestingSupport",
207+
"//mlir:SideEffectInterfaces",
202208
"//mlir:SparseTensorUtils",
203209
"//third-party/unittest:gmock",
204210
"//third-party/unittest:gtest",
@@ -236,6 +242,7 @@ cc_test(
236242
deps = [
237243
"//llvm:Support",
238244
"//llvm:TestingSupport",
245+
"//mlir:BytecodeReader",
239246
"//mlir:FuncDialect",
240247
"//mlir:IR",
241248
"//mlir:MlirOptLib",
@@ -339,9 +346,11 @@ cc_test(
339346
]),
340347
deps = [
341348
"//mlir:AffineAnalysis",
349+
"//mlir:BytecodeReader",
342350
"//mlir:IR",
343351
"//mlir:Parser",
344352
"//mlir:Pass",
353+
"//mlir:SideEffectInterfaces",
345354
"//mlir:TransformUtils",
346355
"//mlir:Transforms",
347356
"//third-party/unittest:gtest",
@@ -387,6 +396,7 @@ cc_test(
387396
"//mlir:BytecodeWriter",
388397
"//mlir:IR",
389398
"//mlir:Parser",
399+
"//mlir:SideEffectInterfaces",
390400
"//third-party/unittest:gmock",
391401
"//third-party/unittest:gtest",
392402
"//third-party/unittest:gtest_main",
@@ -428,6 +438,7 @@ cc_test(
428438
"//mlir:Analysis",
429439
"//mlir:ArithToLLVM",
430440
"//mlir:BuiltinToLLVMIRTranslation",
441+
"//mlir:BytecodeReader",
431442
"//mlir:ExecutionEngine",
432443
"//mlir:FuncDialect",
433444
"//mlir:FuncToLLVM",

0 commit comments

Comments
 (0)