[zorg] r177008 - Change the stdout timeout if we are performing an LTO build to 30 minutes.
Michael Gottesman
mgottesman at apple.com
Wed Mar 13 22:36:53 PDT 2013
Author: mgottesman
Date: Thu Mar 14 00:36:53 2013
New Revision: 177008
URL: http://llvm.org/viewvc/llvm-project?rev=177008&view=rev
Log:
Change the stdout timeout if we are performing an LTO build to 30 minutes.
This is necessary since sometimes the LTO linking steps take a while to
complete which implies no output for a longish time. In our internal tests, said
longish time has never been longer than 30 minutes.
Modified:
zorg/trunk/zorg/buildbot/builders/ClangBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/ClangBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/ClangBuilder.py?rev=177008&r1=177007&r2=177008&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/ClangBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/ClangBuilder.py Thu Mar 14 00:36:53 2013
@@ -753,12 +753,15 @@ def phasedClang(config_options, is_boots
workdir=clang_build_dir))
# Build the compiler.
make_command = ['make', '-j', WithProperties('%(jobs)s')]
+ timeout = 20*60 # Normal timeout is 20 minutes.
if use_lto:
make_command.append(WithProperties('DYLD_LIBRARY_PATH=%(liblto_path)s'))
+ timeout = 30*60 # LTO timeout is 30 minutes.
f.addStep(buildbot.steps.shell.ShellCommand(
name='make', command=make_command,
- haltOnFailure=True, description=['make'], workdir=clang_build_dir))
+ haltOnFailure=True, description=['make'], workdir=clang_build_dir,
+ timeout=timeout))
# Use make install-clang to produce minimal archive for use by downstream
# builders.
f.addStep(buildbot.steps.shell.ShellCommand(
More information about the llvm-commits
mailing list