[PATCH] D121094: [MLIR] Fix bazel BUILD file after Parser.h moved.

Christian Sigg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 7 02:54:11 PST 2022


csigg updated this revision to Diff 413403.
csigg added a comment.

Add fixes for other file moves.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121094

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


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
@@ -3018,10 +3018,7 @@
             "lib/Support/MlirOptMain.cpp",
         ],
     ),
-    hdrs = glob(
-        ["include/mlir/Support/*.h"],
-        exclude = ["include/mlir/Support/MlirOptMain.h"],
-    ),
+    hdrs = glob(["include/mlir/Support/*.h"]),
     includes = ["include"],
     deps = ["//llvm:Support"],
 )
@@ -3064,9 +3061,7 @@
     ]),
     hdrs = glob([
         "include/mlir/Parser/*.h",
-    ]) + [
-        "include/mlir/Parser.h",
-    ],
+    ]),
     includes = ["include"],
     deps = [
         ":IR",
@@ -5552,7 +5547,7 @@
         "lib/Translation/*.cpp",
         "lib/Translation/*.h",
     ]),
-    hdrs = ["include/mlir/Translation.h"],
+    hdrs = ["include/mlir/Tools/mlir-translate/Translation.h"],
     includes = ["include"],
     deps = [
         ":IR",
@@ -5847,7 +5842,7 @@
 cc_library(
     name = "MlirOptLib",
     srcs = ["lib/Support/MlirOptMain.cpp"],
-    hdrs = ["include/mlir/Support/MlirOptMain.h"],
+    hdrs = ["include/mlir/Tools/mlir-opt/MlirOptMain.h"],
     includes = ["include"],
     deps = [
         ":IR",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121094.413403.patch
Type: text/x-patch
Size: 1305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220307/53c6f92c/attachment.bin>


More information about the llvm-commits mailing list