Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2067)

Side by Side Diff: buildbot/buildbot_selector.py

Issue 7524023: New LLVM merging bots (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « buildbot/buildbot_pnacl_merge.sh ('k') | buildbot/buildbot_spec2k.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import os 6 import os
7 import subprocess 7 import subprocess
8 import sys 8 import sys
9 9
10 python = sys.executable 10 python = sys.executable
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 'jaunty_32-newlib-arm_hw-pnacl-dbg': 80 'jaunty_32-newlib-arm_hw-pnacl-dbg':
81 'bash buildbot/buildbot_pnacl1.sh mode-buildbot-arm-hw-dbg', 81 'bash buildbot/buildbot_pnacl1.sh mode-buildbot-arm-hw-dbg',
82 'jaunty_32-newlib-arm_hw-pnacl-opt': 82 'jaunty_32-newlib-arm_hw-pnacl-opt':
83 'bash buildbot/buildbot_pnacl1.sh mode-buildbot-arm-hw-opt', 83 'bash buildbot/buildbot_pnacl1.sh mode-buildbot-arm-hw-opt',
84 'lucid_64-newlib-x86_32-pnacl': 84 'lucid_64-newlib-x86_32-pnacl':
85 'bash buildbot/buildbot_pnacl1.sh mode-buildbot-x8632', 85 'bash buildbot/buildbot_pnacl1.sh mode-buildbot-x8632',
86 'lucid_64-newlib-x86_64-pnacl': 86 'lucid_64-newlib-x86_64-pnacl':
87 'bash buildbot/buildbot_pnacl1.sh mode-buildbot-x8664', 87 'bash buildbot/buildbot_pnacl1.sh mode-buildbot-x8664',
88 # PNaCl Spec 88 # PNaCl Spec
89 'lucid_64-newlib-arm_qemu-pnacl-spec': 89 'lucid_64-newlib-arm_qemu-pnacl-spec':
90 'bash buildbot/buildbot_pnacl2.sh mode-spec-pnacl-arm', 90 'bash buildbot/buildbot_spec2k.sh pnacl-arm',
91 'lucid_64-newlib-x86_32-pnacl-spec': 91 'lucid_64-newlib-x86_32-pnacl-spec':
92 'bash buildbot/buildbot_pnacl2.sh mode-spec-pnacl-x8632', 92 'bash buildbot/buildbot_spec2k.sh pnacl-x8632',
93 'lucid_64-newlib-x86_64-pnacl-spec': 93 'lucid_64-newlib-x86_64-pnacl-spec':
94 'bash buildbot/buildbot_pnacl2.sh mode-spec-pnacl-x8664', 94 'bash buildbot/buildbot_spec2k.sh pnacl-x8664',
95 # NaCl Spec 95 # NaCl Spec
96 'lucid_64-newlib-x86_32-spec': 96 'lucid_64-newlib-x86_32-spec':
97 'bash buildbot/buildbot_pnacl2.sh mode-spec-nacl-x8632', 97 'bash buildbot/buildbot_spec2k.sh nacl-x8632',
98 'lucid_64-newlib-x86_64-spec': 98 'lucid_64-newlib-x86_64-spec':
99 'bash buildbot/buildbot_pnacl2.sh mode-spec-nacl-x8664', 99 'bash buildbot/buildbot_spec2k.sh nacl-x8664',
100 100
101 # Valgrind bots. 101 # Valgrind bots.
102 'lucid-64-newlib-dbg-valgrind': 'bash buildbot/buildbot_valgrind.sh newlib', 102 'lucid-64-newlib-dbg-valgrind': 'bash buildbot/buildbot_valgrind.sh newlib',
103 'lucid-64-glibc-dbg-valgrind': 'bash buildbot/buildbot_valgrind.sh glibc', 103 'lucid-64-glibc-dbg-valgrind': 'bash buildbot/buildbot_valgrind.sh glibc',
104 # Coverage. 104 # Coverage.
105 'mac10.6-newlib-coverage': 'bash buildbot/buildbot_coverage_mac.sh', 105 'mac10.6-newlib-coverage': 'bash buildbot/buildbot_coverage_mac.sh',
106 'lucid-64-32-newlib-coverage': 106 'lucid-64-32-newlib-coverage':
107 'bash buildbot/buildbot_coverage_linux.sh 32', 107 'bash buildbot/buildbot_coverage_linux.sh 32',
108 'lucid-64-64-newlib-coverage': 108 'lucid-64-64-newlib-coverage':
109 'bash buildbot/buildbot_coverage_linux.sh 64', 109 'bash buildbot/buildbot_coverage_linux.sh 64',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 'bash buildbot/buildbot_valgrind.sh glibc', 153 'bash buildbot/buildbot_valgrind.sh glibc',
154 # Pnacl scons trybots 154 # Pnacl scons trybots
155 'nacl-arm_opt': 155 'nacl-arm_opt':
156 'bash buildbot/buildbot_pnacl1.sh mode-buildbot-arm-try', 156 'bash buildbot/buildbot_pnacl1.sh mode-buildbot-arm-try',
157 'nacl-arm_hw_opt': 157 'nacl-arm_hw_opt':
158 'bash buildbot/buildbot_pnacl1.sh mode-buildbot-arm-hw-try', 158 'bash buildbot/buildbot_pnacl1.sh mode-buildbot-arm-hw-try',
159 'nacl-lucid64-pnacl1': 159 'nacl-lucid64-pnacl1':
160 'bash buildbot/buildbot_pnacl1.sh mode-trybot', 160 'bash buildbot/buildbot_pnacl1.sh mode-trybot',
161 # Pnacl spec2k trybots 161 # Pnacl spec2k trybots
162 'nacl-lucid64-pnacl2': 162 'nacl-lucid64-pnacl2':
163 'bash buildbot/buildbot_pnacl2.sh mode-spec-pnacl-trybot', 163 'bash buildbot/buildbot_spec2k.sh pnacl-trybot',
164 164
165 # Toolchain glibc. 165 # Toolchain glibc.
166 'lucid64-glibc': 'bash buildbot/buildbot_lucid64-glibc-makefile.sh', 166 'lucid64-glibc': 'bash buildbot/buildbot_lucid64-glibc-makefile.sh',
167 'mac-glibc': 'bash buildbot/buildbot_mac-glibc-makefile.sh', 167 'mac-glibc': 'bash buildbot/buildbot_mac-glibc-makefile.sh',
168 'win7-glibc': 'buildbot\\buildbot_windows-glibc-makefile.bat', 168 'win7-glibc': 'buildbot\\buildbot_windows-glibc-makefile.bat',
169 # Toolchain gnu. 169 # Toolchain gnu.
170 'win7-toolchain_x86': 'buildbot\\buildbot_toolchain_win.bat', 170 'win7-toolchain_x86': 'buildbot\\buildbot_toolchain_win.bat',
171 'mac-toolchain_x86': 'bash buildbot/buildbot_toolchain.sh mac', 171 'mac-toolchain_x86': 'bash buildbot/buildbot_toolchain.sh mac',
172 'lucid64-toolchain_x86': 'bash buildbot/buildbot_toolchain.sh linux', 172 'lucid64-toolchain_x86': 'bash buildbot/buildbot_toolchain.sh linux',
173 # Pnacl toolchain builders. 173 # Pnacl toolchain builders.
(...skipping 21 matching lines...) Expand all
195 'nacl-toolchain-win7-glibc': 195 'nacl-toolchain-win7-glibc':
196 'buildbot\\buildbot_windows-glibc-makefile.bat', 196 'buildbot\\buildbot_windows-glibc-makefile.bat',
197 197
198 'nacl-toolchain-linux-pnacl-x86_32-newlib': 198 'nacl-toolchain-linux-pnacl-x86_32-newlib':
199 'bash buildbot/buildbot_toolchain_arm_untrusted.sh linux 32 newlib', 199 'bash buildbot/buildbot_toolchain_arm_untrusted.sh linux 32 newlib',
200 'nacl-toolchain-linux-pnacl-x86_64-newlib': 200 'nacl-toolchain-linux-pnacl-x86_64-newlib':
201 'bash buildbot/buildbot_toolchain_arm_untrusted.sh linux 64 newlib', 201 'bash buildbot/buildbot_toolchain_arm_untrusted.sh linux 64 newlib',
202 'nacl-toolchain-mac-pnacl-x86_32-newlib': 202 'nacl-toolchain-mac-pnacl-x86_32-newlib':
203 'bash buildbot/buildbot_toolchain_arm_untrusted.sh mac 32 newlib', 203 'bash buildbot/buildbot_toolchain_arm_untrusted.sh mac 32 newlib',
204 204
205 # PNaCl LLVM Merging bots
206 'pnacl-merge-slow':
207 'bash buildbot/buildbot_pnacl_merge.sh slow-bot',
208 'pnacl-merge-fast':
209 'bash buildbot/buildbot_pnacl_merge.sh fast-bot',
205 } 210 }
206 211
207 212
208 IRT_ARCHIVE_BUILDERS = [ 213 IRT_ARCHIVE_BUILDERS = [
209 'lucid-32-newlib-dbg', 214 'lucid-32-newlib-dbg',
210 'lucid-64-newlib-dbg', 215 'lucid-64-newlib-dbg',
211 ] 216 ]
212 # Require a correspondence with the list above. 217 # Require a correspondence with the list above.
213 for builder in IRT_ARCHIVE_BUILDERS: 218 for builder in IRT_ARCHIVE_BUILDERS:
214 assert builder in BOT_ASSIGNMENT, builder 219 assert builder in BOT_ASSIGNMENT, builder
215 220
216 221
217 def Main(): 222 def Main():
218 builder = os.environ.get('BUILDBOT_BUILDERNAME') 223 builder = os.environ.get('BUILDBOT_BUILDERNAME')
219 cmd = BOT_ASSIGNMENT.get(builder) 224 cmd = BOT_ASSIGNMENT.get(builder)
220 if not cmd: 225 if not cmd:
221 sys.stderr.write('ERROR - unset/invalid builder name\n') 226 sys.stderr.write('ERROR - unset/invalid builder name\n')
222 sys.exit(1) 227 sys.exit(1)
223 228
224 env = os.environ.copy() 229 env = os.environ.copy()
225 env['ARCHIVE_IRT'] = builder in IRT_ARCHIVE_BUILDERS and '1' or '0' 230 env['ARCHIVE_IRT'] = builder in IRT_ARCHIVE_BUILDERS and '1' or '0'
226 231
227 print "%s runs: %s\n" % (builder, cmd) 232 print "%s runs: %s\n" % (builder, cmd)
228 retcode = subprocess.call(cmd, env=env, shell=True) 233 retcode = subprocess.call(cmd, env=env, shell=True)
229 sys.exit(retcode) 234 sys.exit(retcode)
230 235
231 236
232 if __name__ == '__main__': 237 if __name__ == '__main__':
233 Main() 238 Main()
OLDNEW
« no previous file with comments | « buildbot/buildbot_pnacl_merge.sh ('k') | buildbot/buildbot_spec2k.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698