Skip to content

Commit 257f4fd

Browse files
committed
[mlir][Bazel] Add missing dependencies.
1 parent e735620 commit 257f4fd

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4088,22 +4088,22 @@ cc_library(
40884088
] + if_cuda_available([
40894089
"@cuda//:cuda_headers",
40904090
"@cuda//:libcuda",
4091-
])
4091+
]),
40924092
)
40934093

40944094
write_file(
40954095
name = "SerializeToCubin_stub_cc",
40964096
out = "SerializeToCubin_stub.cc",
40974097
content = [
4098-
"""
4098+
"""
40994099
#include "mlir/Dialect/GPU/Transforms/Passes.h"
41004100
41014101
// Provide a weak registration stub in case the real SerializeToCubin is not
41024102
// linked in.
41034103
41044104
__attribute__((weak)) void mlir::registerGpuSerializeToCubinPass() {}
4105-
"""
4106-
]
4105+
""",
4106+
],
41074107
)
41084108

41094109
cc_library(
@@ -4162,9 +4162,12 @@ cc_library(
41624162
],
41634163
includes = ["include"],
41644164
deps = [
4165+
":AffineDialect",
41654166
":ArithDialect",
41664167
":AsmParser",
41674168
":ControlFlowDialect",
4169+
":DialectUtils",
4170+
":FuncDialect",
41684171
":GPUDialect",
41694172
":GPUTransformOpsIncGen",
41704173
":GPUTransforms",
@@ -7113,8 +7116,8 @@ cc_binary(
71137116
":OpenMPDialect",
71147117
":Pass",
71157118
":QuantOps",
7116-
":SerializeToCubin",
71177119
":SCFToGPU",
7120+
":SerializeToCubin",
71187121
":Support",
71197122
":Transforms",
71207123
"//llvm:AllTargetsCodeGens",

0 commit comments

Comments
 (0)