Bazel build fix, second try
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 4 Apr 2023 17:14:13 +0000 (17:14 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 4 Apr 2023 17:14:13 +0000 (17:14 +0000)
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

index ef29408..06eeff8 100644 (file)
@@ -601,7 +601,6 @@ cc_binary(
     name = "llvm-tblgen",
     srcs = glob([
         "utils/TableGen/*.cpp",
-        "utils/TableGen/*.def",
         "utils/TableGen/*.inc",
         "utils/TableGen/*.h",
 
@@ -610,6 +609,9 @@ cc_binary(
         # regular dependency.
         "include/llvm/MC/*.h",
     ]),
+    textual_hdrs = glob([
+        "utils/TableGen/*.def",
+    ]),
     copts = llvm_copts,
     stamp = 0,
     deps = [