[PATCH] D17785: Add step to kill stale symbolizer processes before building
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 11 08:54:15 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL263254: Add step to kill stale symbolizer processes before building (authored by rnk).
Changed prior to commit:
http://reviews.llvm.org/D17785?vs=49555&id=50438#toc
Repository:
rL LLVM
http://reviews.llvm.org/D17785
Files:
zorg/trunk/zorg/buildbot/builders/SanitizerBuilderWindows.py
Index: zorg/trunk/zorg/buildbot/builders/SanitizerBuilderWindows.py
===================================================================
--- zorg/trunk/zorg/buildbot/builders/SanitizerBuilderWindows.py
+++ zorg/trunk/zorg/buildbot/builders/SanitizerBuilderWindows.py
@@ -45,6 +45,15 @@
############# PREPARING
f = buildbot.process.factory.BuildFactory()
+ # Kill any stale symbolizer processes for the last run. If there are any
+ # stale processes, the build will fail during linking. This can happen to
+ # any process, but it is most likely to happen to llvm-symbolizer if its
+ # pipe isn't closed.
+ f.addStep(ShellCommand(name='taskkill',
+ description='kill stale processes',
+ command=['taskkill', '/f', '/im', 'llvm-symbolizer'],
+ haltOnFailure=False))
+
# Determine Slave Environment and Set MSVC environment.
f.addStep(SetProperty(
command=getVisualStudioEnvironment(vs, target_arch),
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17785.50438.patch
Type: text/x-patch
Size: 1020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160311/d7663a8d/attachment.bin>
More information about the llvm-commits
mailing list