[PATCH] D29677: [buildbot] Add check-fuzzer to Asan buildbot on Windows.

Marcos Pividori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 11:01:31 PST 2017


mpividori added inline comments.


================
Comment at: zorg/buildbot/builders/SanitizerBuilderWindows.py:140
+    # Get binary dir.
+    bin_path = "\\".join([Property("builddir"), config, "bin"])
+    # Get compiler-rt's libraries dir.
----------------
rnk wrote:
> I doubt this will work. A "Property" is not a string or dictionary. The master never sees the property values until the build actually executes. It has to generate the list of steps to execute up front, before actually running any of them. When you say "addStep", that adds a step to be run in the future on another machine. The steps don't run synchronously inside this python code.
> 
> As an alternative, we don't need to set PATH if we link statically, right? I'd recommend we do that. Set "-DLLVM_USE_CRT_"+config.upper()"=MT" in the cmake command to do that.
@rnk Thanks. We also need to set PATH because we need to add `Filecheck`, `not`, `sancov` to PATH.


https://reviews.llvm.org/D29677





More information about the llvm-commits mailing list