| 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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 'build_gs_archive': 'linux64_custom_snapshot_dbg_archive', | 502 'build_gs_archive': 'linux64_custom_snapshot_dbg_archive', |
| 503 'tests': [Mjsunit], | 503 'tests': [Mjsunit], |
| 504 'testing': {'platform': 'linux'}, | 504 'testing': {'platform': 'linux'}, |
| 505 }, | 505 }, |
| 506 ####### Category: Windows | 506 ####### Category: Windows |
| 507 'V8 Win32 - builder': { | 507 'V8 Win32 - builder': { |
| 508 'chromium_apply_config': [ | 508 'chromium_apply_config': [ |
| 509 'default_compiler', | 509 'default_compiler', |
| 510 'v8_ninja', | 510 'v8_ninja', |
| 511 'goma', | 511 'goma', |
| 512 'mb', |
| 512 ], | 513 ], |
| 513 'v8_config_kwargs': { | 514 'v8_config_kwargs': { |
| 514 'BUILD_CONFIG': 'Release', | 515 'BUILD_CONFIG': 'Release', |
| 515 'TARGET_BITS': 32, | 516 'TARGET_BITS': 32, |
| 516 }, | 517 }, |
| 517 'bot_type': 'builder', | 518 'bot_type': 'builder', |
| 518 'build_gs_archive': 'win32_rel_archive', | 519 'build_gs_archive': 'win32_rel_archive', |
| 519 'enable_swarming': True, | 520 'enable_swarming': True, |
| 520 'testing': {'platform': 'win'}, | 521 'testing': {'platform': 'win'}, |
| 521 'triggers': [ | 522 'triggers': [ |
| 522 'V8 Win32', | 523 'V8 Win32', |
| 523 ], | 524 ], |
| 524 }, | 525 }, |
| 525 'V8 Win32 - debug builder': { | 526 'V8 Win32 - debug builder': { |
| 526 'chromium_apply_config': [ | 527 'chromium_apply_config': [ |
| 527 'default_compiler', | 528 'default_compiler', |
| 528 'v8_ninja', | 529 'v8_ninja', |
| 529 'goma', | 530 'goma', |
| 531 'mb', |
| 530 ], | 532 ], |
| 531 'v8_config_kwargs': { | 533 'v8_config_kwargs': { |
| 532 'BUILD_CONFIG': 'Debug', | 534 'BUILD_CONFIG': 'Debug', |
| 533 'TARGET_BITS': 32, | 535 'TARGET_BITS': 32, |
| 534 }, | 536 }, |
| 535 'bot_type': 'builder', | 537 'bot_type': 'builder', |
| 536 'build_gs_archive': 'win32_dbg_archive', | 538 'build_gs_archive': 'win32_dbg_archive', |
| 537 'enable_swarming': True, | 539 'enable_swarming': True, |
| 538 'testing': {'platform': 'win'}, | 540 'testing': {'platform': 'win'}, |
| 539 'triggers': [ | 541 'triggers': [ |
| (...skipping 16 matching lines...) Expand all Loading... |
| 556 }, | 558 }, |
| 557 }, | 559 }, |
| 558 'V8 Win32 - nosnap - shared': { | 560 'V8 Win32 - nosnap - shared': { |
| 559 'v8_apply_config': ['no_snapshot'], | 561 'v8_apply_config': ['no_snapshot'], |
| 560 'chromium_apply_config': [ | 562 'chromium_apply_config': [ |
| 561 'default_compiler', | 563 'default_compiler', |
| 562 'v8_ninja', | 564 'v8_ninja', |
| 563 'goma', | 565 'goma', |
| 564 'shared_library', | 566 'shared_library', |
| 565 'no_snapshot', | 567 'no_snapshot', |
| 568 'mb', |
| 566 ], | 569 ], |
| 567 'v8_config_kwargs': { | 570 'v8_config_kwargs': { |
| 568 'BUILD_CONFIG': 'Release', | 571 'BUILD_CONFIG': 'Release', |
| 569 'TARGET_BITS': 32, | 572 'TARGET_BITS': 32, |
| 570 }, | 573 }, |
| 571 'bot_type': 'builder_tester', | 574 'bot_type': 'builder_tester', |
| 572 'enable_swarming': True, | 575 'enable_swarming': True, |
| 573 'tests': [V8Testing_2, IgnitionTurbofan], | 576 'tests': [V8Testing_2, IgnitionTurbofan], |
| 574 'swarming_dimensions': { | 577 'swarming_dimensions': { |
| 575 'os': 'Windows-7-SP1', | 578 'os': 'Windows-7-SP1', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 590 'swarming_dimensions': { | 593 'swarming_dimensions': { |
| 591 'os': 'Windows-7-SP1', | 594 'os': 'Windows-7-SP1', |
| 592 'cpu': 'x86-64', | 595 'cpu': 'x86-64', |
| 593 }, | 596 }, |
| 594 }, | 597 }, |
| 595 'V8 Win64': { | 598 'V8 Win64': { |
| 596 'chromium_apply_config': [ | 599 'chromium_apply_config': [ |
| 597 'default_compiler', | 600 'default_compiler', |
| 598 'v8_ninja', | 601 'v8_ninja', |
| 599 'goma', | 602 'goma', |
| 603 'mb', |
| 600 ], | 604 ], |
| 601 'v8_config_kwargs': { | 605 'v8_config_kwargs': { |
| 602 'BUILD_CONFIG': 'Release', | 606 'BUILD_CONFIG': 'Release', |
| 603 'TARGET_BITS': 64, | 607 'TARGET_BITS': 64, |
| 604 }, | 608 }, |
| 605 'bot_type': 'builder_tester', | 609 'bot_type': 'builder_tester', |
| 606 'enable_swarming': True, | 610 'enable_swarming': True, |
| 607 'swarming_dimensions': { | 611 'swarming_dimensions': { |
| 608 'os': 'Windows-7-SP1', | 612 'os': 'Windows-7-SP1', |
| 609 }, | 613 }, |
| 610 'tests': [V8Testing, SimdJs, Test262, Mozilla, IgnitionTurbofan], | 614 'tests': [V8Testing, SimdJs, Test262, Mozilla, IgnitionTurbofan], |
| 611 'testing': {'platform': 'win'}, | 615 'testing': {'platform': 'win'}, |
| 612 }, | 616 }, |
| 613 'V8 Win64 - debug': { | 617 'V8 Win64 - debug': { |
| 614 'chromium_apply_config': [ | 618 'chromium_apply_config': [ |
| 615 'default_compiler', | 619 'default_compiler', |
| 616 'v8_ninja', | 620 'v8_ninja', |
| 617 'goma', | 621 'goma', |
| 622 'mb', |
| 618 ], | 623 ], |
| 619 'v8_config_kwargs': { | 624 'v8_config_kwargs': { |
| 620 'BUILD_CONFIG': 'Debug', | 625 'BUILD_CONFIG': 'Debug', |
| 621 'TARGET_BITS': 64, | 626 'TARGET_BITS': 64, |
| 622 }, | 627 }, |
| 623 'bot_type': 'builder_tester', | 628 'bot_type': 'builder_tester', |
| 624 'enable_swarming': True, | 629 'enable_swarming': True, |
| 625 'swarming_dimensions': { | 630 'swarming_dimensions': { |
| 626 'os': 'Windows-7-SP1', | 631 'os': 'Windows-7-SP1', |
| 627 }, | 632 }, |
| 628 'tests': [V8Testing_2, SimdJs, Test262, Mozilla, IgnitionTurbofan], | 633 'tests': [V8Testing_2, SimdJs, Test262, Mozilla, IgnitionTurbofan], |
| 629 'testing': {'platform': 'win'}, | 634 'testing': {'platform': 'win'}, |
| 630 }, | 635 }, |
| 631 'V8 Win64 - clang': { | 636 'V8 Win64 - clang': { |
| 632 'chromium_apply_config': [ | 637 'chromium_apply_config': [ |
| 633 'clang', | 638 'clang', |
| 634 'v8_ninja', | 639 'v8_ninja', |
| 635 'goma', | 640 'goma', |
| 641 'mb', |
| 636 ], | 642 ], |
| 637 'v8_config_kwargs': { | 643 'v8_config_kwargs': { |
| 638 'BUILD_CONFIG': 'Release', | 644 'BUILD_CONFIG': 'Release', |
| 639 'TARGET_BITS': 64, | 645 'TARGET_BITS': 64, |
| 640 }, | 646 }, |
| 641 'bot_type': 'builder_tester', | 647 'bot_type': 'builder_tester', |
| 642 'testing': {'platform': 'win'}, | 648 'testing': {'platform': 'win'}, |
| 643 }, | 649 }, |
| 644 ####### Category: Mac | 650 ####### Category: Mac |
| 645 'V8 Mac': { | 651 'V8 Mac': { |
| (...skipping 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1939 MjsunitSPFrameAccess, | 1945 MjsunitSPFrameAccess, |
| 1940 Test262IgnitionTurbofan_2, | 1946 Test262IgnitionTurbofan_2, |
| 1941 ], | 1947 ], |
| 1942 'testing': {'platform': 'linux'}, | 1948 'testing': {'platform': 'linux'}, |
| 1943 }, | 1949 }, |
| 1944 'v8_win_dbg': { | 1950 'v8_win_dbg': { |
| 1945 'chromium_apply_config': [ | 1951 'chromium_apply_config': [ |
| 1946 'default_compiler', | 1952 'default_compiler', |
| 1947 'v8_ninja', | 1953 'v8_ninja', |
| 1948 'goma', | 1954 'goma', |
| 1955 'mb', |
| 1949 ], | 1956 ], |
| 1950 'v8_config_kwargs': { | 1957 'v8_config_kwargs': { |
| 1951 'BUILD_CONFIG': 'Debug', | 1958 'BUILD_CONFIG': 'Debug', |
| 1952 'TARGET_BITS': 32, | 1959 'TARGET_BITS': 32, |
| 1953 }, | 1960 }, |
| 1954 'bot_type': 'builder_tester', | 1961 'bot_type': 'builder_tester', |
| 1955 'enable_swarming': True, | 1962 'enable_swarming': True, |
| 1956 'swarming_dimensions': { | 1963 'swarming_dimensions': { |
| 1957 'os': 'Windows-7-SP1', | 1964 'os': 'Windows-7-SP1', |
| 1958 'cpu': 'x86-64', | 1965 'cpu': 'x86-64', |
| 1959 }, | 1966 }, |
| 1960 'tests': [V8Testing_2, IgnitionTurbofan, Mozilla], | 1967 'tests': [V8Testing_2, IgnitionTurbofan, Mozilla], |
| 1961 'testing': {'platform': 'win'}, | 1968 'testing': {'platform': 'win'}, |
| 1962 }, | 1969 }, |
| 1963 'v8_win_compile_dbg': { | 1970 'v8_win_compile_dbg': { |
| 1964 'chromium_apply_config': [ | 1971 'chromium_apply_config': [ |
| 1965 'default_compiler', | 1972 'default_compiler', |
| 1966 'v8_ninja', | 1973 'v8_ninja', |
| 1967 'goma', | 1974 'goma', |
| 1975 'mb', |
| 1968 ], | 1976 ], |
| 1969 'v8_config_kwargs': { | 1977 'v8_config_kwargs': { |
| 1970 'BUILD_CONFIG': 'Debug', | 1978 'BUILD_CONFIG': 'Debug', |
| 1971 'TARGET_BITS': 32, | 1979 'TARGET_BITS': 32, |
| 1972 }, | 1980 }, |
| 1973 'bot_type': 'builder_tester', | 1981 'bot_type': 'builder_tester', |
| 1974 'testing': {'platform': 'win'}, | 1982 'testing': {'platform': 'win'}, |
| 1975 }, | 1983 }, |
| 1976 'v8_win_rel_ng': { | 1984 'v8_win_rel_ng': { |
| 1977 'chromium_apply_config': [ | 1985 'chromium_apply_config': [ |
| 1978 'default_compiler', | 1986 'default_compiler', |
| 1979 'v8_ninja', | 1987 'v8_ninja', |
| 1980 'goma', | 1988 'goma', |
| 1989 'mb', |
| 1981 ], | 1990 ], |
| 1982 'v8_config_kwargs': { | 1991 'v8_config_kwargs': { |
| 1983 'BUILD_CONFIG': 'Release', | 1992 'BUILD_CONFIG': 'Release', |
| 1984 'TARGET_BITS': 32, | 1993 'TARGET_BITS': 32, |
| 1985 }, | 1994 }, |
| 1986 'bot_type': 'builder', | 1995 'bot_type': 'builder', |
| 1987 'enable_swarming': True, | 1996 'enable_swarming': True, |
| 1988 'slim_swarming_builder': True, | 1997 'slim_swarming_builder': True, |
| 1989 'triggers': [ | 1998 'triggers': [ |
| 1990 'v8_win_rel_ng_triggered', | 1999 'v8_win_rel_ng_triggered', |
| (...skipping 20 matching lines...) Expand all Loading... |
| 2011 }, | 2020 }, |
| 2012 'v8_win_nosnap_shared_rel_ng': { | 2021 'v8_win_nosnap_shared_rel_ng': { |
| 2013 'v8_apply_config': ['no_snapshot'], | 2022 'v8_apply_config': ['no_snapshot'], |
| 2014 'chromium_apply_config': [ | 2023 'chromium_apply_config': [ |
| 2015 'default_compiler', | 2024 'default_compiler', |
| 2016 'v8_ninja', | 2025 'v8_ninja', |
| 2017 'goma', | 2026 'goma', |
| 2018 'no_dcheck', | 2027 'no_dcheck', |
| 2019 'no_snapshot', | 2028 'no_snapshot', |
| 2020 'shared_library', | 2029 'shared_library', |
| 2030 'mb', |
| 2021 ], | 2031 ], |
| 2022 'v8_config_kwargs': { | 2032 'v8_config_kwargs': { |
| 2023 'BUILD_CONFIG': 'Release', | 2033 'BUILD_CONFIG': 'Release', |
| 2024 'TARGET_BITS': 32, | 2034 'TARGET_BITS': 32, |
| 2025 }, | 2035 }, |
| 2026 'bot_type': 'builder', | 2036 'bot_type': 'builder', |
| 2027 'enable_swarming': True, | 2037 'enable_swarming': True, |
| 2028 'slim_swarming_builder': True, | 2038 'slim_swarming_builder': True, |
| 2029 'triggers': [ | 2039 'triggers': [ |
| 2030 'v8_win_nosnap_shared_rel_ng_triggered', | 2040 'v8_win_nosnap_shared_rel_ng_triggered', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 2049 'cpu': 'x86-64', | 2059 'cpu': 'x86-64', |
| 2050 }, | 2060 }, |
| 2051 'tests': [V8Testing_2, IgnitionTurbofan], | 2061 'tests': [V8Testing_2, IgnitionTurbofan], |
| 2052 'testing': {'platform': 'linux'}, | 2062 'testing': {'platform': 'linux'}, |
| 2053 }, | 2063 }, |
| 2054 'v8_win64_rel_ng': { | 2064 'v8_win64_rel_ng': { |
| 2055 'chromium_apply_config': [ | 2065 'chromium_apply_config': [ |
| 2056 'default_compiler', | 2066 'default_compiler', |
| 2057 'v8_ninja', | 2067 'v8_ninja', |
| 2058 'goma', | 2068 'goma', |
| 2069 'mb', |
| 2059 ], | 2070 ], |
| 2060 'v8_config_kwargs': { | 2071 'v8_config_kwargs': { |
| 2061 'BUILD_CONFIG': 'Release', | 2072 'BUILD_CONFIG': 'Release', |
| 2062 'TARGET_BITS': 64, | 2073 'TARGET_BITS': 64, |
| 2063 }, | 2074 }, |
| 2064 'bot_type': 'builder', | 2075 'bot_type': 'builder', |
| 2065 'enable_swarming': True, | 2076 'enable_swarming': True, |
| 2066 'slim_swarming_builder': True, | 2077 'slim_swarming_builder': True, |
| 2067 'triggers': [ | 2078 'triggers': [ |
| 2068 'v8_win64_rel_ng_triggered', | 2079 'v8_win64_rel_ng_triggered', |
| (...skipping 16 matching lines...) Expand all Loading... |
| 2085 'cpu': 'x86-64', | 2096 'cpu': 'x86-64', |
| 2086 }, | 2097 }, |
| 2087 'tests': [V8Testing, SimdJs, IgnitionTurbofan], | 2098 'tests': [V8Testing, SimdJs, IgnitionTurbofan], |
| 2088 'testing': {'platform': 'linux'}, | 2099 'testing': {'platform': 'linux'}, |
| 2089 }, | 2100 }, |
| 2090 'v8_win64_dbg': { | 2101 'v8_win64_dbg': { |
| 2091 'chromium_apply_config': [ | 2102 'chromium_apply_config': [ |
| 2092 'default_compiler', | 2103 'default_compiler', |
| 2093 'v8_ninja', | 2104 'v8_ninja', |
| 2094 'goma', | 2105 'goma', |
| 2106 'mb', |
| 2095 ], | 2107 ], |
| 2096 'v8_config_kwargs': { | 2108 'v8_config_kwargs': { |
| 2097 'BUILD_CONFIG': 'Debug', | 2109 'BUILD_CONFIG': 'Debug', |
| 2098 'TARGET_BITS': 64, | 2110 'TARGET_BITS': 64, |
| 2099 }, | 2111 }, |
| 2100 'bot_type': 'builder_tester', | 2112 'bot_type': 'builder_tester', |
| 2101 'enable_swarming': True, | 2113 'enable_swarming': True, |
| 2102 'swarming_dimensions': { | 2114 'swarming_dimensions': { |
| 2103 'os': 'Windows-7-SP1', | 2115 'os': 'Windows-7-SP1', |
| 2104 }, | 2116 }, |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2510 }} | 2522 }} |
| 2511 | 2523 |
| 2512 BUILDERS = freeze(BUILDERS) | 2524 BUILDERS = freeze(BUILDERS) |
| 2513 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) | 2525 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) |
| 2514 | 2526 |
| 2515 def iter_builders(): | 2527 def iter_builders(): |
| 2516 for mastername, master_config in BUILDERS.iteritems(): | 2528 for mastername, master_config in BUILDERS.iteritems(): |
| 2517 builders = master_config['builders'] | 2529 builders = master_config['builders'] |
| 2518 for buildername, bot_config in builders.iteritems(): | 2530 for buildername, bot_config in builders.iteritems(): |
| 2519 yield mastername, builders, buildername, bot_config | 2531 yield mastername, builders, buildername, bot_config |
| OLD | NEW |