[PATCH] D107571: Add llvm-stress binary to Bazel build configuration.

Daniele Vettorel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 5 07:33:45 PDT 2021


vettoreldaniele created this revision.
vettoreldaniele added a reviewer: GMNGeoffrey.
vettoreldaniele added a project: bazel build.
vettoreldaniele requested review of this revision.
Herald added a project: LLVM.

The `llvm-stress` binary is currently missing from the Bazel `BUILD` file for llvm. This patch adds it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107571

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


Index: utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -3279,6 +3279,20 @@
     ],
 )
 
+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([


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107571.363770.patch
Type: text/x-patch
Size: 572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210805/4857d654/attachment.bin>


More information about the llvm-commits mailing list