[bazel][mlir] Build Debug/BreakpointManagers only from a single target
authorEmilio Cota <ecg@google.com>
Tue, 25 Apr 2023 02:11:22 +0000 (22:11 -0400)
committerEmilio Cota <ecg@google.com>
Tue, 25 Apr 2023 02:16:25 +0000 (22:16 -0400)
When writing 5f2b0892d "[bazel][mlir] BreakpointManager fixes for 7f069f5",
I did not notice that 17c6de3f1 "[bazel] Fix bazel build for 7f069f5ef.."
had added Debug/BreakpointManagers globs to the Debug target. But these
are already being built in the "BreakpointManagers" target; remove them
from "Debug".

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

index 07b4c02..4313450 100644 (file)
@@ -3717,11 +3717,9 @@ cc_library(
     srcs = glob([
         "lib/Debug/*.cpp",
         "lib/Debug/*.h",
-        "lib/Debug/BreakpointManagers/*.cpp",
     ]),
     hdrs = glob([
         "include/mlir/Debug/*.h",
-        "include/mlir/Debug/BreakpointManagers/*.h"
 ]),
     includes = ["include"],
     deps = [