OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Contains the bulk of the V8 builder configurations so they can be reused | 5 # Contains the bulk of the V8 builder configurations so they can be reused |
6 # from multiple recipes. | 6 # from multiple recipes. |
7 | 7 |
8 from recipe_engine.types import freeze | 8 from recipe_engine.types import freeze |
9 | 9 |
10 | 10 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 'V8 Deopt Fuzzer', | 68 'V8 Deopt Fuzzer', |
69 'V8 Linux', | 69 'V8 Linux', |
70 'V8 Linux - deadcode', | 70 'V8 Linux - deadcode', |
71 'V8 Linux - gcmole', | 71 'V8 Linux - gcmole', |
72 'V8 Linux - isolates', | 72 'V8 Linux - isolates', |
73 'V8 Linux - nosse3', | 73 'V8 Linux - nosse3', |
74 'V8 Linux - nosse4', | 74 'V8 Linux - nosse4', |
75 'V8 Linux - presubmit', | 75 'V8 Linux - presubmit', |
76 ], | 76 ], |
77 }, | 77 }, |
78 'V8 Linux - swarming staging builder': { | |
79 'chromium_apply_config': [ | |
80 'clang', 'v8_ninja', 'goma', 'embed_script_mjsunit'], | |
81 'v8_config_kwargs': { | |
82 'BUILD_CONFIG': 'Debug', | |
83 'TARGET_BITS': 64, | |
84 }, | |
85 'bot_type': 'builder', | |
86 'build_gs_archive': 'linux_swarming_staging_archive', | |
87 'enable_swarming': True, | |
88 'testing': { | |
89 'platform': 'linux', | |
90 }, | |
91 'triggers': [ | |
92 'V8 Linux - swarming staging 1', | |
93 'V8 Linux - swarming staging 2', | |
94 ], | |
95 }, | |
96 'V8 Linux - debug builder': { | 78 'V8 Linux - debug builder': { |
97 'chromium_apply_config': ['clang', 'v8_ninja', 'goma'], | 79 'chromium_apply_config': ['clang', 'v8_ninja', 'goma'], |
98 'v8_config_kwargs': { | 80 'v8_config_kwargs': { |
99 'BUILD_CONFIG': 'Debug', | 81 'BUILD_CONFIG': 'Debug', |
100 'TARGET_BITS': 32, | 82 'TARGET_BITS': 32, |
101 }, | 83 }, |
102 'bot_type': 'builder', | 84 'bot_type': 'builder', |
103 'build_gs_archive': 'linux_dbg_archive', | 85 'build_gs_archive': 'linux_dbg_archive', |
104 'enable_swarming': True, | 86 'enable_swarming': True, |
105 'testing': {'platform': 'linux'}, | 87 'testing': {'platform': 'linux'}, |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 Ignition, | 155 Ignition, |
174 MjsunitSPFrameAccess, | 156 MjsunitSPFrameAccess, |
175 Test262Ignition, | 157 Test262Ignition, |
176 ], | 158 ], |
177 'testing': {'platform': 'linux'}, | 159 'testing': {'platform': 'linux'}, |
178 'enable_swarming': True, | 160 'enable_swarming': True, |
179 'swarming_dimensions': { | 161 'swarming_dimensions': { |
180 'os': 'Ubuntu-12.04', | 162 'os': 'Ubuntu-12.04', |
181 }, | 163 }, |
182 }, | 164 }, |
183 'V8 Linux - swarming staging 1': { | 165 'V8 Linux - swarming staging': { |
184 'v8_apply_config': ['no_harness'], | |
185 'v8_config_kwargs': { | |
186 'BUILD_CONFIG': 'Debug', | |
187 'TARGET_BITS': 64, | |
188 }, | |
189 'bot_type': 'tester', | |
190 'parent_buildername': 'V8 Linux - swarming staging builder', | |
191 'build_gs_archive': 'linux_swarming_staging_archive', | |
192 'tests': [Mjsunit, V8Initializers], | |
193 'testing': {'platform': 'linux'}, | |
194 'enable_swarming': True, | |
195 'slim_swarming_tester': True, | |
196 'swarming_dimensions': { | |
197 'os': 'Ubuntu', | |
198 }, | |
199 }, | |
200 'V8 Linux - swarming staging 2': { | |
201 'v8_apply_config': ['gc_stress', 'no_harness'], | |
202 'v8_config_kwargs': { | |
203 'BUILD_CONFIG': 'Debug', | |
204 'TARGET_BITS': 64, | |
205 }, | |
206 'bot_type': 'tester', | |
207 'parent_buildername': 'V8 Linux - swarming staging builder', | |
208 'build_gs_archive': 'linux_swarming_staging_archive', | |
209 'tests': [Mjsunit], | |
210 'testing': {'platform': 'linux'}, | |
211 'enable_swarming': True, | |
212 'slim_swarming_tester': True, | |
213 'swarming_dimensions': { | |
214 'os': 'Ubuntu', | |
215 }, | |
216 }, | |
217 'V8 Linux - swarming staging 3': { | |
218 'chromium_apply_config': [ | 166 'chromium_apply_config': [ |
219 'v8_ninja', 'clang', 'asan', 'goma'], | 167 'v8_ninja', 'clang', 'asan', 'goma'], |
220 'v8_config_kwargs': { | 168 'v8_config_kwargs': { |
221 'BUILD_CONFIG': 'Release', | 169 'BUILD_CONFIG': 'Release', |
222 'TARGET_BITS': 64, | 170 'TARGET_BITS': 64, |
223 }, | 171 }, |
224 'bot_type': 'builder_tester', | 172 'bot_type': 'builder_tester', |
225 'enable_swarming': True, | 173 'enable_swarming': True, |
226 'tests': [ | 174 'tests': [ |
227 V8Testing, | 175 V8Testing, |
(...skipping 2142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2370 dart_win_release['chromium_apply_config'].extend(['v8_ninja', 'msvs2013']) | 2318 dart_win_release['chromium_apply_config'].extend(['v8_ninja', 'msvs2013']) |
2371 | 2319 |
2372 BUILDERS = freeze(BUILDERS) | 2320 BUILDERS = freeze(BUILDERS) |
2373 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) | 2321 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) |
2374 | 2322 |
2375 def iter_builders(): | 2323 def iter_builders(): |
2376 for mastername, master_config in BUILDERS.iteritems(): | 2324 for mastername, master_config in BUILDERS.iteritems(): |
2377 builders = master_config['builders'] | 2325 builders = master_config['builders'] |
2378 for buildername, bot_config in builders.iteritems(): | 2326 for buildername, bot_config in builders.iteritems(): |
2379 yield mastername, builders, buildername, bot_config | 2327 yield mastername, builders, buildername, bot_config |
OLD | NEW |