From: Adrian Kuegel Date: Mon, 13 Mar 2023 07:54:29 +0000 (+0100) Subject: [mlir][Bazel] Adjustments for fa51c1753a274fbb7a71d8fe91fd4e5caf2fa4d3 X-Git-Tag: upstream/17.0.6~15078 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f8e7835f235576ae9e765678234d3f9676ceec2;p=platform%2Fupstream%2Fllvm.git [mlir][Bazel] Adjustments for fa51c1753a274fbb7a71d8fe91fd4e5caf2fa4d3 Fix bazel build. Differential Revision: https://reviews.llvm.org/D145903 --- diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel index a3f58b0..5d98d41 100644 --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -3566,7 +3566,21 @@ cc_library( hdrs = glob(["include/mlir/Debug/*.h"]), includes = ["include"], deps = [ + ":IR", ":Support", + "//llvm:Support", + ], +) + +cc_library( + name = "BreakpointManagers", + srcs = glob([ + "lib/Debug/BreakpointManagers/*.cpp", + "lib/Debug/BreakpointManagers/*.h", + ]), + hdrs = glob(["include/mlir/Debug/BreakpointManagers/*.h"]), + deps = [ + ":Debug", ":IR", "//llvm:Support", ], @@ -4116,10 +4130,10 @@ td_library( srcs = [ "include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td", "include/mlir/Dialect/LLVMIR/LLVMEnums.td", + "include/mlir/Dialect/LLVMIR/LLVMInterfaces.td", "include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td", "include/mlir/Dialect/LLVMIR/LLVMOpBase.td", "include/mlir/Dialect/LLVMIR/LLVMOps.td", - "include/mlir/Dialect/LLVMIR/LLVMInterfaces.td", "include/mlir/Dialect/LLVMIR/LLVMTypes.td", ], includes = ["include"], @@ -4268,9 +4282,9 @@ cc_library( ":ConversionPassIncGen", ":IR", ":Pass", - ":Support", ":SPIRVConversion", ":SPIRVDialect", + ":Support", ":Transforms", ":VectorDialect", "//llvm:Support", diff --git a/utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel index 3c0e85e..9091f85 100644 --- a/utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel @@ -19,7 +19,9 @@ cc_test( "Debug/*.h", ]), deps = [ + "//llvm:Support", "//llvm:TestingSupport", + "//mlir:BreakpointManagers", "//mlir:Debug", "//mlir:Support", "//third-party/unittest:gmock",