Add llvm-stress binary to Bazel build configuration.
authorDaniele Vettorel <dvet@google.com>
Thu, 5 Aug 2021 16:32:36 +0000 (12:32 -0400)
committerJakub Kuderski <kubak@google.com>
Thu, 5 Aug 2021 16:35:46 +0000 (12:35 -0400)
The `llvm-stress` binary is currently missing from the Bazel `BUILD` file for llvm. This patch adds it.

Reviewed By: GMNGeoffrey

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

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

index 1b88b11..7fe3a12 100644 (file)
@@ -3280,6 +3280,20 @@ gentbl(
 )
 
 cc_binary(
+    name = "llvm-stress",
+    srcs = glob([
+        "tools/llvm-stress/*.cpp",
+        "tools/llvm-stress/*.h",
+    ]),
+    copts = llvm_copts,
+    stamp = 0,
+    deps = [
+        ":Core",
+        ":Support",
+    ],
+)
+
+cc_binary(
     name = "llvm-objcopy",
     srcs = glob([
         "tools/llvm-objcopy/**/*.cpp",