bazel fix for TranslateLib
authorAart Bik <ajcbik@google.com>
Sat, 22 Oct 2022 02:50:22 +0000 (19:50 -0700)
committerAart Bik <ajcbik@google.com>
Sat, 22 Oct 2022 03:07:58 +0000 (20:07 -0700)
Reviewed By: cota

Differential Revision: https://reviews.llvm.org/D136519

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

index 96e0c8a..0da0ae1 100644 (file)
@@ -6194,7 +6194,11 @@ cc_library(
 
 cc_library(
     name = "TranslateLib",
-    srcs = glob(["lib/Tools/mlir-translate/*.cpp"]),
+    srcs = glob([
+        "lib/Tools/mlir-translate/*.cpp",
+    ]) + [
+        "include/mlir/Tools/ParseUtilties.h",
+    ],
     hdrs = glob(["include/mlir/Tools/mlir-translate/*.h"]),
     includes = ["include"],
     deps = [