Bazel: Try textual hdrs for tblgen .def file
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 4 Apr 2023 17:37:49 +0000 (17:37 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 4 Apr 2023 17:37:49 +0000 (17:37 +0000)
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

index 380dc9e..c4a57c4 100644 (file)
@@ -607,7 +607,6 @@ cc_library(
     name = "UtilsTableGen",
     srcs = glob([
         "utils/TableGen/*.cpp",
-        "utils/TableGen/*.def",
         "utils/TableGen/*.inc",
         "utils/TableGen/*.h",
 
@@ -617,6 +616,7 @@ cc_library(
         "include/llvm/MC/*.h",
     ]),
     copts = llvm_copts,
+    textual_hdrs = glob(["utils/TableGen/*.def"]),
     deps = [
         ":LLVMTableGenGlobalISel",
         ":Support",