[llvm] [bazel] Add support for LLVM_TOOL_LLVM_DRIVER_BUILD (PR #86879)

Jordan Rupprecht via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 14:29:27 PDT 2024


================
@@ -4178,6 +4187,12 @@ cc_binary(
     ],
 )
 
+llvm_driver_cc_binary(
+    name = "llvm-nm",
+    stamp = 0,
----------------
rupprecht wrote:

Good question. Some people may have strong opinions on stamping. I'm not sure if there's a reason we have `stamp = 0` in these build files. Obviously there are caching benefits, but you also get those more broadly by building with `bazel build --nostamp`. I can't find advice on this, e.g. in a style guide or best practices list, but I'll add a comment later if I can figure anything out.

(btw, this looks like a new line, but it's just moved from a few lines above)

https://github.com/llvm/llvm-project/pull/86879


More information about the llvm-commits mailing list