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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 'enable_swarming': True, | 86 'enable_swarming': True, |
87 'testing': {'platform': 'linux'}, | 87 'testing': {'platform': 'linux'}, |
88 'triggers': [ | 88 'triggers': [ |
89 'V8 Linux - gc stress', | 89 'V8 Linux - gc stress', |
90 'V8 Linux - debug', | 90 'V8 Linux - debug', |
91 'V8 Linux - debug - avx2', | 91 'V8 Linux - debug - avx2', |
92 'V8 Linux - debug - code serializer', | 92 'V8 Linux - debug - code serializer', |
93 'V8 Linux - debug - isolates', | 93 'V8 Linux - debug - isolates', |
94 'V8 Linux - debug - nosse3', | 94 'V8 Linux - debug - nosse3', |
95 'V8 Linux - debug - nosse4', | 95 'V8 Linux - debug - nosse4', |
96 'V8 Linux - memcheck', | |
97 'V8 Linux - debug - greedy allocator', | 96 'V8 Linux - debug - greedy allocator', |
98 ], | 97 ], |
99 }, | 98 }, |
100 'V8 Linux - nosnap builder': { | 99 'V8 Linux - nosnap builder': { |
101 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'no_snapshot'], | 100 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'no_snapshot'], |
102 'v8_config_kwargs': { | 101 'v8_config_kwargs': { |
103 'BUILD_CONFIG': 'Release', | 102 'BUILD_CONFIG': 'Release', |
104 'TARGET_BITS': 32, | 103 'TARGET_BITS': 32, |
105 }, | 104 }, |
106 'bot_type': 'builder', | 105 'bot_type': 'builder', |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 }, | 429 }, |
431 'bot_type': 'builder', | 430 'bot_type': 'builder', |
432 'build_gs_archive': 'linux64_dbg_archive', | 431 'build_gs_archive': 'linux64_dbg_archive', |
433 'testing': {'platform': 'linux'}, | 432 'testing': {'platform': 'linux'}, |
434 'enable_swarming': True, | 433 'enable_swarming': True, |
435 'triggers': [ | 434 'triggers': [ |
436 'V8 Fuzzer', | 435 'V8 Fuzzer', |
437 'V8 Linux64 - debug', | 436 'V8 Linux64 - debug', |
438 'V8 Linux64 - debug - avx2', | 437 'V8 Linux64 - debug - avx2', |
439 'V8 Linux64 - debug - greedy allocator', | 438 'V8 Linux64 - debug - greedy allocator', |
| 439 'V8 Linux64 - memcheck', |
440 ], | 440 ], |
441 }, | 441 }, |
442 'V8 Linux64 - custom snapshot - debug builder': { | 442 'V8 Linux64 - custom snapshot - debug builder': { |
443 'chromium_apply_config': [ | 443 'chromium_apply_config': [ |
444 'clang', 'v8_ninja', 'goma', 'embed_script_mjsunit'], | 444 'clang', 'v8_ninja', 'goma', 'embed_script_mjsunit'], |
445 'v8_config_kwargs': { | 445 'v8_config_kwargs': { |
446 'BUILD_CONFIG': 'Debug', | 446 'BUILD_CONFIG': 'Debug', |
447 'TARGET_BITS': 64, | 447 'TARGET_BITS': 64, |
448 }, | 448 }, |
449 'bot_type': 'builder', | 449 'bot_type': 'builder', |
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1401 'tests': [ | 1401 'tests': [ |
1402 V8Testing, | 1402 V8Testing, |
1403 OptimizeForSize, | 1403 OptimizeForSize, |
1404 Benchmarks, | 1404 Benchmarks, |
1405 Test262, | 1405 Test262, |
1406 Mozilla, | 1406 Mozilla, |
1407 SimdJs, | 1407 SimdJs, |
1408 ], | 1408 ], |
1409 'testing': {'platform': 'linux'}, | 1409 'testing': {'platform': 'linux'}, |
1410 }, | 1410 }, |
1411 'V8 Linux - memcheck': { | 1411 'V8 Linux64 - memcheck': { |
| 1412 'gclient_apply_config': ['v8_valgrind'], |
1412 'v8_config_kwargs': { | 1413 'v8_config_kwargs': { |
1413 'BUILD_CONFIG': 'Debug', | 1414 'BUILD_CONFIG': 'Debug', |
1414 'TARGET_BITS': 32, | 1415 'TARGET_BITS': 64, |
1415 }, | 1416 }, |
1416 'bot_type': 'tester', | 1417 'bot_type': 'tester', |
1417 'parent_buildername': 'V8 Linux - debug builder', | 1418 'parent_buildername': 'V8 Linux64 - debug builder', |
1418 'build_gs_archive': 'linux_dbg_archive', | 1419 'build_gs_archive': 'linux64_dbg_archive', |
1419 'tests': [SimpleLeak], | 1420 'tests': [SimpleLeak], |
1420 'testing': {'platform': 'linux'}, | 1421 'testing': {'platform': 'linux'}, |
1421 }, | 1422 }, |
1422 'V8 Mac64 ASAN': { | 1423 'V8 Mac64 ASAN': { |
1423 'chromium_apply_config': ['v8_ninja', 'clang', 'asan', 'goma'], | 1424 'chromium_apply_config': ['v8_ninja', 'clang', 'asan', 'goma'], |
1424 'v8_config_kwargs': { | 1425 'v8_config_kwargs': { |
1425 'BUILD_CONFIG': 'Release', | 1426 'BUILD_CONFIG': 'Release', |
1426 'TARGET_BITS': 64, | 1427 'TARGET_BITS': 64, |
1427 }, | 1428 }, |
1428 'bot_type': 'builder_tester', | 1429 'bot_type': 'builder_tester', |
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2502 dart_win_release['chromium_apply_config'].extend(['v8_ninja', 'msvs2013']) | 2503 dart_win_release['chromium_apply_config'].extend(['v8_ninja', 'msvs2013']) |
2503 | 2504 |
2504 BUILDERS = freeze(BUILDERS) | 2505 BUILDERS = freeze(BUILDERS) |
2505 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) | 2506 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) |
2506 | 2507 |
2507 def iter_builders(): | 2508 def iter_builders(): |
2508 for mastername, master_config in BUILDERS.iteritems(): | 2509 for mastername, master_config in BUILDERS.iteritems(): |
2509 builders = master_config['builders'] | 2510 builders = master_config['builders'] |
2510 for buildername, bot_config in builders.iteritems(): | 2511 for buildername, bot_config in builders.iteritems(): |
2511 yield mastername, builders, buildername, bot_config | 2512 yield mastername, builders, buildername, bot_config |
OLD | NEW |