| 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 from testing import V8NoExhaustiveVariants, V8Variant, V8VariantNeutral | 9 from testing import V8NoExhaustiveVariants, V8Variant, V8VariantNeutral |
| 10 | 10 |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 'BUILD_CONFIG': 'Debug', | 330 'BUILD_CONFIG': 'Debug', |
| 331 'TARGET_BITS': 32, | 331 'TARGET_BITS': 32, |
| 332 }, | 332 }, |
| 333 'bot_type': 'builder_tester', | 333 'bot_type': 'builder_tester', |
| 334 'tests': [V8Testing, Mozilla, Test262, SimdJs], | 334 'tests': [V8Testing, Mozilla, Test262, SimdJs], |
| 335 'variants': V8NoExhaustiveVariants(), | 335 'variants': V8NoExhaustiveVariants(), |
| 336 'testing': {'platform': 'linux'}, | 336 'testing': {'platform': 'linux'}, |
| 337 }, | 337 }, |
| 338 ####### Category: Linux64 | 338 ####### Category: Linux64 |
| 339 'V8 Linux64 - builder': { | 339 'V8 Linux64 - builder': { |
| 340 'chromium_apply_config': ['default_compiler', 'v8_ninja', 'goma'], | 340 'chromium_apply_config': [ |
| 341 'default_compiler', 'v8_ninja', 'goma', 'mb'], |
| 341 'v8_config_kwargs': { | 342 'v8_config_kwargs': { |
| 342 'BUILD_CONFIG': 'Release', | 343 'BUILD_CONFIG': 'Release', |
| 343 'TARGET_BITS': 64, | 344 'TARGET_BITS': 64, |
| 344 }, | 345 }, |
| 345 'bot_type': 'builder', | 346 'bot_type': 'builder', |
| 346 'build_gs_archive': 'linux64_rel_archive', | 347 'build_gs_archive': 'linux64_rel_archive', |
| 347 'enable_swarming': True, | 348 'enable_swarming': True, |
| 348 'testing': {'platform': 'linux'}, | 349 'testing': {'platform': 'linux'}, |
| 349 'triggers': [ | 350 'triggers': [ |
| 350 'V8 Linux64', | 351 'V8 Linux64', |
| 351 'V8 Linux64 - avx2', | 352 'V8 Linux64 - avx2', |
| 352 ], | 353 ], |
| 353 'triggers_proxy': True, | 354 'triggers_proxy': True, |
| 354 }, | 355 }, |
| 355 'V8 Linux64 - debug builder': { | 356 'V8 Linux64 - debug builder': { |
| 356 'gclient_apply_config': ['v8_valgrind'], | 357 'gclient_apply_config': ['v8_valgrind'], |
| 357 'chromium_apply_config': [ | 358 'chromium_apply_config': [ |
| 358 'default_compiler', 'v8_ninja', 'goma', 'jsfunfuzz', 'has_valgrind'], | 359 'default_compiler', 'v8_ninja', 'goma', 'jsfunfuzz', 'has_valgrind', |
| 360 'mb'], |
| 359 'v8_config_kwargs': { | 361 'v8_config_kwargs': { |
| 360 'BUILD_CONFIG': 'Debug', | 362 'BUILD_CONFIG': 'Debug', |
| 361 'TARGET_BITS': 64, | 363 'TARGET_BITS': 64, |
| 362 }, | 364 }, |
| 363 'bot_type': 'builder', | 365 'bot_type': 'builder', |
| 364 'build_gs_archive': 'linux64_dbg_archive', | 366 'build_gs_archive': 'linux64_dbg_archive', |
| 365 'testing': {'platform': 'linux'}, | 367 'testing': {'platform': 'linux'}, |
| 366 'enable_swarming': True, | 368 'enable_swarming': True, |
| 367 'triggers': [ | 369 'triggers': [ |
| 368 'V8 Fuzzer', | 370 'V8 Fuzzer', |
| 369 'V8 Linux64 - debug', | 371 'V8 Linux64 - debug', |
| 370 'V8 Linux64 - debug - avx2', | 372 'V8 Linux64 - debug - avx2', |
| 371 ], | 373 ], |
| 372 }, | 374 }, |
| 373 'V8 Linux64 - custom snapshot - debug builder': { | 375 'V8 Linux64 - custom snapshot - debug builder': { |
| 374 'chromium_apply_config': [ | 376 'chromium_apply_config': [ |
| 375 'default_compiler', 'v8_ninja', 'goma', 'embed_script_mjsunit'], | 377 'default_compiler', 'v8_ninja', 'goma', 'embed_script_mjsunit', |
| 378 'mb'], |
| 376 'v8_config_kwargs': { | 379 'v8_config_kwargs': { |
| 377 'BUILD_CONFIG': 'Debug', | 380 'BUILD_CONFIG': 'Debug', |
| 378 'TARGET_BITS': 64, | 381 'TARGET_BITS': 64, |
| 379 }, | 382 }, |
| 380 'bot_type': 'builder', | 383 'bot_type': 'builder', |
| 381 'build_gs_archive': 'linux64_custom_snapshot_dbg_archive', | 384 'build_gs_archive': 'linux64_custom_snapshot_dbg_archive', |
| 382 'testing': {'platform': 'linux'}, | 385 'testing': {'platform': 'linux'}, |
| 383 'enable_swarming': True, | 386 'enable_swarming': True, |
| 384 'triggers': [ | 387 'triggers': [ |
| 385 'V8 Linux64 - custom snapshot - debug', | 388 'V8 Linux64 - custom snapshot - debug', |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 ], | 471 ], |
| 469 'testing': {'platform': 'linux'}, | 472 'testing': {'platform': 'linux'}, |
| 470 'swarming_dimensions': { | 473 'swarming_dimensions': { |
| 471 'os': 'Ubuntu-14.04', | 474 'os': 'Ubuntu-14.04', |
| 472 'pool': 'V8-AVX2', | 475 'pool': 'V8-AVX2', |
| 473 'gpu': '102b', | 476 'gpu': '102b', |
| 474 }, | 477 }, |
| 475 }, | 478 }, |
| 476 'V8 Linux64 - internal snapshot': { | 479 'V8 Linux64 - internal snapshot': { |
| 477 'chromium_apply_config': [ | 480 'chromium_apply_config': [ |
| 478 'v8_ninja', 'default_compiler', 'goma', 'internal_snapshot', | 481 'v8_ninja', 'default_compiler', 'goma', 'internal_snapshot', 'mb', |
| 479 ], | 482 ], |
| 480 'v8_config_kwargs': { | 483 'v8_config_kwargs': { |
| 481 'BUILD_CONFIG': 'Release', | 484 'BUILD_CONFIG': 'Release', |
| 482 'TARGET_BITS': 64, | 485 'TARGET_BITS': 64, |
| 483 }, | 486 }, |
| 484 'bot_type': 'builder_tester', | 487 'bot_type': 'builder_tester', |
| 485 'enable_swarming': True, | 488 'enable_swarming': True, |
| 486 'tests': [V8Testing], | 489 'tests': [V8Testing], |
| 487 'testing': {'platform': 'linux'}, | 490 'testing': {'platform': 'linux'}, |
| 488 }, | 491 }, |
| (...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1697 'chromium_apply_config': ['no_dcheck', 'gcc'], | 1700 'chromium_apply_config': ['no_dcheck', 'gcc'], |
| 1698 'v8_config_kwargs': { | 1701 'v8_config_kwargs': { |
| 1699 'BUILD_CONFIG': 'Release', | 1702 'BUILD_CONFIG': 'Release', |
| 1700 'TARGET_BITS': 32, | 1703 'TARGET_BITS': 32, |
| 1701 }, | 1704 }, |
| 1702 'bot_type': 'builder_tester', | 1705 'bot_type': 'builder_tester', |
| 1703 'tests': [V8Testing], | 1706 'tests': [V8Testing], |
| 1704 'testing': {'platform': 'linux'}, | 1707 'testing': {'platform': 'linux'}, |
| 1705 }, | 1708 }, |
| 1706 'v8_linux64_rel_ng': { | 1709 'v8_linux64_rel_ng': { |
| 1707 'chromium_apply_config': ['default_compiler', 'v8_ninja', 'goma'], | 1710 'chromium_apply_config': [ |
| 1711 'default_compiler', 'v8_ninja', 'goma', 'mb'], |
| 1708 'v8_config_kwargs': { | 1712 'v8_config_kwargs': { |
| 1709 'BUILD_CONFIG': 'Release', | 1713 'BUILD_CONFIG': 'Release', |
| 1710 'TARGET_BITS': 64, | 1714 'TARGET_BITS': 64, |
| 1711 }, | 1715 }, |
| 1712 'bot_type': 'builder', | 1716 'bot_type': 'builder', |
| 1713 'enable_swarming': True, | 1717 'enable_swarming': True, |
| 1714 'slim_swarming_builder': True, | 1718 'slim_swarming_builder': True, |
| 1715 'triggers': [ | 1719 'triggers': [ |
| 1716 'v8_linux64_rel_ng_triggered', | 1720 'v8_linux64_rel_ng_triggered', |
| 1717 ], | 1721 ], |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1731 OptimizeForSize, | 1735 OptimizeForSize, |
| 1732 Test262Variants_2, | 1736 Test262Variants_2, |
| 1733 SimdJs, | 1737 SimdJs, |
| 1734 IgnitionTurbofan, | 1738 IgnitionTurbofan, |
| 1735 MjsunitSPFrameAccess, | 1739 MjsunitSPFrameAccess, |
| 1736 Test262IgnitionTurbofan, | 1740 Test262IgnitionTurbofan, |
| 1737 ], | 1741 ], |
| 1738 'testing': {'platform': 'linux'}, | 1742 'testing': {'platform': 'linux'}, |
| 1739 }, | 1743 }, |
| 1740 'v8_linux64_avx2_rel_ng': { | 1744 'v8_linux64_avx2_rel_ng': { |
| 1741 'chromium_apply_config': ['default_compiler', 'v8_ninja', 'goma'], | 1745 'chromium_apply_config': [ |
| 1746 'default_compiler', 'v8_ninja', 'goma', 'mb'], |
| 1742 'v8_config_kwargs': { | 1747 'v8_config_kwargs': { |
| 1743 'BUILD_CONFIG': 'Release', | 1748 'BUILD_CONFIG': 'Release', |
| 1744 'TARGET_BITS': 64, | 1749 'TARGET_BITS': 64, |
| 1745 }, | 1750 }, |
| 1746 'bot_type': 'builder', | 1751 'bot_type': 'builder', |
| 1747 'enable_swarming': True, | 1752 'enable_swarming': True, |
| 1748 'slim_swarming_builder': True, | 1753 'slim_swarming_builder': True, |
| 1749 'triggers': [ | 1754 'triggers': [ |
| 1750 'v8_linux64_avx2_rel_ng_triggered', | 1755 'v8_linux64_avx2_rel_ng_triggered', |
| 1751 ], | 1756 ], |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1764 SimdJs, | 1769 SimdJs, |
| 1765 ], | 1770 ], |
| 1766 'testing': {'platform': 'linux'}, | 1771 'testing': {'platform': 'linux'}, |
| 1767 'swarming_dimensions': { | 1772 'swarming_dimensions': { |
| 1768 'os': 'Ubuntu-14.04', | 1773 'os': 'Ubuntu-14.04', |
| 1769 'pool': 'V8-AVX2', | 1774 'pool': 'V8-AVX2', |
| 1770 'gpu': '102b', | 1775 'gpu': '102b', |
| 1771 }, | 1776 }, |
| 1772 }, | 1777 }, |
| 1773 'v8_linux64_avx2_dbg': { | 1778 'v8_linux64_avx2_dbg': { |
| 1774 'chromium_apply_config': ['default_compiler', 'v8_ninja', 'goma'], | 1779 'chromium_apply_config': [ |
| 1780 'default_compiler', 'v8_ninja', 'goma', 'mb'], |
| 1775 'v8_config_kwargs': { | 1781 'v8_config_kwargs': { |
| 1776 'BUILD_CONFIG': 'Debug', | 1782 'BUILD_CONFIG': 'Debug', |
| 1777 'TARGET_BITS': 64, | 1783 'TARGET_BITS': 64, |
| 1778 }, | 1784 }, |
| 1779 'bot_type': 'builder_tester', | 1785 'bot_type': 'builder_tester', |
| 1780 'enable_swarming': True, | 1786 'enable_swarming': True, |
| 1781 'tests': [ | 1787 'tests': [ |
| 1782 V8Testing_2, | 1788 V8Testing_2, |
| 1783 SimdJs, | 1789 SimdJs, |
| 1784 ], | 1790 ], |
| (...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2500 dart_win_release['chromium_apply_config'].extend(['v8_ninja', 'msvs2013']) | 2506 dart_win_release['chromium_apply_config'].extend(['v8_ninja', 'msvs2013']) |
| 2501 | 2507 |
| 2502 BUILDERS = freeze(BUILDERS) | 2508 BUILDERS = freeze(BUILDERS) |
| 2503 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) | 2509 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) |
| 2504 | 2510 |
| 2505 def iter_builders(): | 2511 def iter_builders(): |
| 2506 for mastername, master_config in BUILDERS.iteritems(): | 2512 for mastername, master_config in BUILDERS.iteritems(): |
| 2507 builders = master_config['builders'] | 2513 builders = master_config['builders'] |
| 2508 for buildername, bot_config in builders.iteritems(): | 2514 for buildername, bot_config in builders.iteritems(): |
| 2509 yield mastername, builders, buildername, bot_config | 2515 yield mastername, builders, buildername, bot_config |
| OLD | NEW |