| 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 13 matching lines...) Expand all Loading... |
| 24 Mjsunit_3 = TestStepConfig('mjsunit', shards=3) | 24 Mjsunit_3 = TestStepConfig('mjsunit', shards=3) |
| 25 MjsunitIgnition = TestStepConfig('mjsunit_ignition') | 25 MjsunitIgnition = TestStepConfig('mjsunit_ignition') |
| 26 Mozilla = TestStepConfig('mozilla') | 26 Mozilla = TestStepConfig('mozilla') |
| 27 OptimizeForSize = TestStepConfig('optimize_for_size') | 27 OptimizeForSize = TestStepConfig('optimize_for_size') |
| 28 Presubmit = TestStepConfig('presubmit') | 28 Presubmit = TestStepConfig('presubmit') |
| 29 SimdJs = TestStepConfig('simdjs') | 29 SimdJs = TestStepConfig('simdjs') |
| 30 SimpleLeak = TestStepConfig('simpleleak') | 30 SimpleLeak = TestStepConfig('simpleleak') |
| 31 Test262 = TestStepConfig('test262') | 31 Test262 = TestStepConfig('test262') |
| 32 Test262_2 = TestStepConfig('test262', shards=2) | 32 Test262_2 = TestStepConfig('test262', shards=2) |
| 33 Test262Ignition = TestStepConfig('test262_ignition') | 33 Test262Ignition = TestStepConfig('test262_ignition') |
| 34 Test262Ignition_2 = TestStepConfig('test262_ignition', shards=2) |
| 34 Test262Variants = TestStepConfig('test262_variants') | 35 Test262Variants = TestStepConfig('test262_variants') |
| 35 Test262Variants_2 = TestStepConfig('test262_variants', shards=2) | 36 Test262Variants_2 = TestStepConfig('test262_variants', shards=2) |
| 36 Test262Variants_3 = TestStepConfig('test262_variants', shards=3) | 37 Test262Variants_3 = TestStepConfig('test262_variants', shards=3) |
| 37 Unittests = TestStepConfig('unittests') | 38 Unittests = TestStepConfig('unittests') |
| 38 V8Initializers = TestStepConfig('v8initializers') | 39 V8Initializers = TestStepConfig('v8initializers') |
| 39 V8Testing = TestStepConfig('v8testing') | 40 V8Testing = TestStepConfig('v8testing') |
| 40 V8Testing_2 = TestStepConfig('v8testing', shards=2) | 41 V8Testing_2 = TestStepConfig('v8testing', shards=2) |
| 41 V8Testing_3 = TestStepConfig('v8testing', shards=3) | 42 V8Testing_3 = TestStepConfig('v8testing', shards=3) |
| 42 V8Testing_4 = TestStepConfig('v8testing', shards=4) | 43 V8Testing_4 = TestStepConfig('v8testing', shards=4) |
| 43 Webkit = TestStepConfig('webkit') | 44 Webkit = TestStepConfig('webkit') |
| (...skipping 1564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1608 }, | 1609 }, |
| 1609 'bot_type': 'builder_tester', | 1610 'bot_type': 'builder_tester', |
| 1610 'enable_swarming': True, | 1611 'enable_swarming': True, |
| 1611 'tests': [ | 1612 'tests': [ |
| 1612 V8Testing, | 1613 V8Testing, |
| 1613 OptimizeForSize, | 1614 OptimizeForSize, |
| 1614 Test262Variants_2, | 1615 Test262Variants_2, |
| 1615 Mozilla, | 1616 Mozilla, |
| 1616 Benchmarks, | 1617 Benchmarks, |
| 1617 SimdJs, | 1618 SimdJs, |
| 1619 MjsunitIgnition, |
| 1620 Test262Ignition, |
| 1618 ], | 1621 ], |
| 1619 'testing': {'platform': 'linux'}, | 1622 'testing': {'platform': 'linux'}, |
| 1620 }, | 1623 }, |
| 1621 'v8_linux_avx2_dbg': { | 1624 'v8_linux_avx2_dbg': { |
| 1622 'chromium_apply_config': ['clang', 'v8_ninja', 'goma'], | 1625 'chromium_apply_config': ['clang', 'v8_ninja', 'goma'], |
| 1623 'v8_config_kwargs': { | 1626 'v8_config_kwargs': { |
| 1624 'BUILD_CONFIG': 'Debug', | 1627 'BUILD_CONFIG': 'Debug', |
| 1625 'TARGET_BITS': 32, | 1628 'TARGET_BITS': 32, |
| 1626 }, | 1629 }, |
| 1627 'bot_type': 'builder_tester', | 1630 'bot_type': 'builder_tester', |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1643 'testing': {'platform': 'linux'}, | 1646 'testing': {'platform': 'linux'}, |
| 1644 }, | 1647 }, |
| 1645 'v8_linux_dbg': { | 1648 'v8_linux_dbg': { |
| 1646 'chromium_apply_config': ['clang', 'v8_ninja', 'goma'], | 1649 'chromium_apply_config': ['clang', 'v8_ninja', 'goma'], |
| 1647 'v8_config_kwargs': { | 1650 'v8_config_kwargs': { |
| 1648 'BUILD_CONFIG': 'Debug', | 1651 'BUILD_CONFIG': 'Debug', |
| 1649 'TARGET_BITS': 32, | 1652 'TARGET_BITS': 32, |
| 1650 }, | 1653 }, |
| 1651 'bot_type': 'builder_tester', | 1654 'bot_type': 'builder_tester', |
| 1652 'enable_swarming': True, | 1655 'enable_swarming': True, |
| 1653 'tests': [V8Testing_2, Test262, Mozilla, Benchmarks, SimdJs], | 1656 'tests': [ |
| 1657 V8Testing_2, |
| 1658 Test262, |
| 1659 Mozilla, |
| 1660 Benchmarks, |
| 1661 SimdJs, |
| 1662 MjsunitIgnition, |
| 1663 Test262Ignition, |
| 1664 ], |
| 1654 'testing': {'platform': 'linux'}, | 1665 'testing': {'platform': 'linux'}, |
| 1655 }, | 1666 }, |
| 1656 'v8_linux_greedy_allocator_dbg': { | 1667 'v8_linux_greedy_allocator_dbg': { |
| 1657 'chromium_apply_config': ['clang', 'v8_ninja', 'goma'], | 1668 'chromium_apply_config': ['clang', 'v8_ninja', 'goma'], |
| 1658 'v8_apply_config': ['greedy_allocator', 'turbo_variant'], | 1669 'v8_apply_config': ['greedy_allocator', 'turbo_variant'], |
| 1659 'v8_config_kwargs': { | 1670 'v8_config_kwargs': { |
| 1660 'BUILD_CONFIG': 'Debug', | 1671 'BUILD_CONFIG': 'Debug', |
| 1661 'TARGET_BITS': 32, | 1672 'TARGET_BITS': 32, |
| 1662 }, | 1673 }, |
| 1663 'bot_type': 'builder_tester', | 1674 'bot_type': 'builder_tester', |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1714 'TARGET_BITS': 64, | 1725 'TARGET_BITS': 64, |
| 1715 }, | 1726 }, |
| 1716 'bot_type': 'builder_tester', | 1727 'bot_type': 'builder_tester', |
| 1717 'enable_swarming': True, | 1728 'enable_swarming': True, |
| 1718 'tests': [ | 1729 'tests': [ |
| 1719 V8Initializers, | 1730 V8Initializers, |
| 1720 V8Testing, | 1731 V8Testing, |
| 1721 OptimizeForSize, | 1732 OptimizeForSize, |
| 1722 Test262Variants_2, | 1733 Test262Variants_2, |
| 1723 SimdJs, | 1734 SimdJs, |
| 1735 MjsunitIgnition, |
| 1736 Test262Ignition, |
| 1724 ], | 1737 ], |
| 1725 'testing': {'platform': 'linux'}, | 1738 'testing': {'platform': 'linux'}, |
| 1726 }, | 1739 }, |
| 1727 'v8_linux64_avx2_rel': { | 1740 'v8_linux64_avx2_rel': { |
| 1728 'chromium_apply_config': ['clang', 'v8_ninja', 'goma'], | 1741 'chromium_apply_config': ['clang', 'v8_ninja', 'goma'], |
| 1729 'v8_config_kwargs': { | 1742 'v8_config_kwargs': { |
| 1730 'BUILD_CONFIG': 'Release', | 1743 'BUILD_CONFIG': 'Release', |
| 1731 'TARGET_BITS': 64, | 1744 'TARGET_BITS': 64, |
| 1732 }, | 1745 }, |
| 1733 'bot_type': 'builder_tester', | 1746 'bot_type': 'builder_tester', |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2036 'testing': {'platform': 'mac'}, | 2049 'testing': {'platform': 'mac'}, |
| 2037 }, | 2050 }, |
| 2038 'v8_linux_arm_rel': { | 2051 'v8_linux_arm_rel': { |
| 2039 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'simulate_arm'], | 2052 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'simulate_arm'], |
| 2040 'v8_config_kwargs': { | 2053 'v8_config_kwargs': { |
| 2041 'BUILD_CONFIG': 'Release', | 2054 'BUILD_CONFIG': 'Release', |
| 2042 'TARGET_BITS': 32, | 2055 'TARGET_BITS': 32, |
| 2043 }, | 2056 }, |
| 2044 'bot_type': 'builder_tester', | 2057 'bot_type': 'builder_tester', |
| 2045 'enable_swarming': True, | 2058 'enable_swarming': True, |
| 2046 'tests': [V8Testing_3, Test262, Mozilla, SimdJs], | 2059 'tests': [ |
| 2060 V8Testing_3, |
| 2061 Test262, |
| 2062 Mozilla, |
| 2063 SimdJs, |
| 2064 MjsunitIgnition, |
| 2065 Test262Ignition_2, |
| 2066 ], |
| 2047 'testing': {'platform': 'linux'}, | 2067 'testing': {'platform': 'linux'}, |
| 2048 }, | 2068 }, |
| 2049 'v8_linux_arm_dbg': { | 2069 'v8_linux_arm_dbg': { |
| 2050 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'simulate_arm'], | 2070 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'simulate_arm'], |
| 2051 'v8_config_kwargs': { | 2071 'v8_config_kwargs': { |
| 2052 'BUILD_CONFIG': 'Debug', | 2072 'BUILD_CONFIG': 'Debug', |
| 2053 'TARGET_BITS': 32, | 2073 'TARGET_BITS': 32, |
| 2054 }, | 2074 }, |
| 2055 'bot_type': 'builder_tester', | 2075 'bot_type': 'builder_tester', |
| 2056 'enable_swarming': True, | 2076 'enable_swarming': True, |
| 2057 'tests': [V8Testing_3, Test262, Mozilla, SimdJs], | 2077 'tests': [ |
| 2078 V8Testing_3, |
| 2079 Test262, |
| 2080 Mozilla, |
| 2081 SimdJs, |
| 2082 MjsunitIgnition, |
| 2083 Test262Ignition_2, |
| 2084 ], |
| 2058 'testing': {'platform': 'linux'}, | 2085 'testing': {'platform': 'linux'}, |
| 2059 }, | 2086 }, |
| 2060 'v8_linux_arm_armv8a_rel': { | 2087 'v8_linux_arm_armv8a_rel': { |
| 2061 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'simulate_arm'], | 2088 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'simulate_arm'], |
| 2062 'v8_apply_config': ['enable_armv8'], | 2089 'v8_apply_config': ['enable_armv8'], |
| 2063 'v8_config_kwargs': { | 2090 'v8_config_kwargs': { |
| 2064 'BUILD_CONFIG': 'Release', | 2091 'BUILD_CONFIG': 'Release', |
| 2065 'TARGET_BITS': 32, | 2092 'TARGET_BITS': 32, |
| 2066 }, | 2093 }, |
| 2067 'bot_type': 'builder_tester', | 2094 'bot_type': 'builder_tester', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 2082 'testing': {'platform': 'linux'}, | 2109 'testing': {'platform': 'linux'}, |
| 2083 }, | 2110 }, |
| 2084 'v8_linux_arm64_rel': { | 2111 'v8_linux_arm64_rel': { |
| 2085 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'simulate_arm'], | 2112 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'simulate_arm'], |
| 2086 'v8_config_kwargs': { | 2113 'v8_config_kwargs': { |
| 2087 'BUILD_CONFIG': 'Release', | 2114 'BUILD_CONFIG': 'Release', |
| 2088 'TARGET_BITS': 64, | 2115 'TARGET_BITS': 64, |
| 2089 }, | 2116 }, |
| 2090 'bot_type': 'builder_tester', | 2117 'bot_type': 'builder_tester', |
| 2091 'enable_swarming': True, | 2118 'enable_swarming': True, |
| 2092 'tests': [V8Testing_3, Test262, Mozilla, SimdJs], | 2119 'tests': [ |
| 2120 V8Testing_3, |
| 2121 Test262, |
| 2122 Mozilla, |
| 2123 SimdJs, |
| 2124 MjsunitIgnition, |
| 2125 Test262Ignition_2, |
| 2126 ], |
| 2093 'testing': {'platform': 'linux'}, | 2127 'testing': {'platform': 'linux'}, |
| 2094 }, | 2128 }, |
| 2095 'v8_linux_arm64_dbg': { | 2129 'v8_linux_arm64_dbg': { |
| 2096 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'simulate_arm'], | 2130 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'simulate_arm'], |
| 2097 'v8_config_kwargs': { | 2131 'v8_config_kwargs': { |
| 2098 'BUILD_CONFIG': 'Debug', | 2132 'BUILD_CONFIG': 'Debug', |
| 2099 'TARGET_BITS': 64, | 2133 'TARGET_BITS': 64, |
| 2100 }, | 2134 }, |
| 2101 'bot_type': 'builder_tester', | 2135 'bot_type': 'builder_tester', |
| 2102 'enable_swarming': True, | 2136 'enable_swarming': True, |
| 2103 'tests': [V8Testing_3, Test262, Mozilla, SimdJs], | 2137 'tests': [ |
| 2138 V8Testing_3, |
| 2139 Test262, |
| 2140 Mozilla, |
| 2141 SimdJs, |
| 2142 MjsunitIgnition, |
| 2143 Test262Ignition_2, |
| 2144 ], |
| 2104 'testing': {'platform': 'linux'}, | 2145 'testing': {'platform': 'linux'}, |
| 2105 }, | 2146 }, |
| 2106 'v8_linux_arm64_gc_stress_dbg': { | 2147 'v8_linux_arm64_gc_stress_dbg': { |
| 2107 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'simulate_arm'], | 2148 'chromium_apply_config': ['clang', 'v8_ninja', 'goma', 'simulate_arm'], |
| 2108 'v8_apply_config': ['gc_stress'], | 2149 'v8_apply_config': ['gc_stress'], |
| 2109 'v8_config_kwargs': { | 2150 'v8_config_kwargs': { |
| 2110 'BUILD_CONFIG': 'Debug', | 2151 'BUILD_CONFIG': 'Debug', |
| 2111 'TARGET_BITS': 64, | 2152 'TARGET_BITS': 64, |
| 2112 }, | 2153 }, |
| 2113 'bot_type': 'builder_tester', | 2154 'bot_type': 'builder_tester', |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2277 dart_win_release['chromium_apply_config'].extend(['v8_ninja', 'msvs2013']) | 2318 dart_win_release['chromium_apply_config'].extend(['v8_ninja', 'msvs2013']) |
| 2278 | 2319 |
| 2279 BUILDERS = freeze(BUILDERS) | 2320 BUILDERS = freeze(BUILDERS) |
| 2280 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) | 2321 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) |
| 2281 | 2322 |
| 2282 def iter_builders(): | 2323 def iter_builders(): |
| 2283 for mastername, master_config in BUILDERS.iteritems(): | 2324 for mastername, master_config in BUILDERS.iteritems(): |
| 2284 builders = master_config['builders'] | 2325 builders = master_config['builders'] |
| 2285 for buildername, bot_config in builders.iteritems(): | 2326 for buildername, bot_config in builders.iteritems(): |
| 2286 yield mastername, builders, buildername, bot_config | 2327 yield mastername, builders, buildername, bot_config |
| OLD | NEW |