[PATCH] D145903: [mlir][Bazel] Adjustments for fa51c1753a274fbb7a71d8fe91fd4e5caf2fa4d3

Adrian Kuegel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 01:27:56 PDT 2023


akuegel updated this revision to Diff 504545.
akuegel added a comment.

Add another missing dependency to debug_tests.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145903/new/

https://reviews.llvm.org/D145903

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


Index: utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel
@@ -19,7 +19,9 @@
         "Debug/*.h",
     ]),
     deps = [
+        "//llvm:Support",
         "//llvm:TestingSupport",
+        "//mlir:BreakpointManagers",
         "//mlir:Debug",
         "//mlir:Support",
         "//third-party/unittest:gmock",
Index: utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -3566,7 +3566,21 @@
     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 @@
     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 @@
         ":ConversionPassIncGen",
         ":IR",
         ":Pass",
-        ":Support",
         ":SPIRVConversion",
         ":SPIRVDialect",
+        ":Support",
         ":Transforms",
         ":VectorDialect",
         "//llvm:Support",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145903.504545.patch
Type: text/x-patch
Size: 2039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230313/400567fd/attachment.bin>


More information about the llvm-commits mailing list