OLD | NEW |
1 # Copyright 2016 The V8 project authors. All rights reserved. | 1 # Copyright 2016 The V8 project 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 { | 5 { |
6 # This is a map of buildbot master names -> buildbot builder names -> | 6 # This is a map of buildbot master names -> buildbot builder names -> |
7 # config names (where each config name is a key in the 'configs' dict, | 7 # config names (where each config name is a key in the 'configs' dict, |
8 # below). MB uses this dict to look up which config to use for a given bot. | 8 # below). MB uses this dict to look up which config to use for a given bot. |
9 # Bots are ordered by appearance on waterfall. | 9 # Bots are ordered by appearance on waterfall. |
10 'masters': { | 10 'masters': { |
11 'client.v8': { | 11 'client.v8': { |
| 12 # Linux. |
| 13 'V8 Linux - builder': 'gyp_release_x86_gcmole', |
| 14 'V8 Linux - debug builder': 'gyp_debug_x86', |
| 15 'V8 Linux - nosnap builder': 'gyp_release_x86_no_snap', |
| 16 'V8 Linux - nosnap debug builder': 'gyp_debug_x86_no_snap', |
| 17 'V8 Linux - shared': 'gyp_release_x86_shared_verify_heap', |
| 18 'V8 Linux - noi18n - debug': 'gyp_debug_x86_no_i18n', |
12 # Linux64. | 19 # Linux64. |
13 'V8 Linux64 - builder': 'gyp_release_x64', | 20 'V8 Linux64 - builder': 'gyp_release_x64', |
14 'V8 Linux64 - debug builder': 'gyp_debug_valgrind_x64', | 21 'V8 Linux64 - debug builder': 'gyp_debug_x64_valgrind', |
15 'V8 Linux64 - custom snapshot - debug builder': 'gyp_debug_custom_x64', | 22 'V8 Linux64 - custom snapshot - debug builder': 'gyp_debug_x64_custom', |
16 'V8 Linux64 - internal snapshot': 'gyp_release_internal_x64', | 23 'V8 Linux64 - internal snapshot': 'gyp_release_x64_internal', |
| 24 # Misc. |
| 25 'V8 Linux gcc 4.8': 'gyp_release_x86_gcc', |
17 # FYI. | 26 # FYI. |
18 'V8 Linux - swarming staging': 'gn_release_x64', | 27 'V8 Linux - swarming staging': 'gn_release_x64', |
| 28 'V8 Linux - vtunejit': 'gyp_debug_x86_vtunejit', |
| 29 'V8 Linux - predictable': 'gyp_release_x86_predictable', |
| 30 'V8 Linux - full debug': 'gyp_full_debug_x86', |
| 31 'V8 Linux - interpreted regexp': 'gyp_release_x86_interpreted_regexp', |
| 32 'V8 Random Deopt Fuzzer - debug': 'gyp_debug_x86', |
19 }, | 33 }, |
20 'tryserver.v8': { | 34 'tryserver.v8': { |
| 35 'v8_linux_rel_ng': 'gyp_release_x86_gcmole_trybot', |
| 36 'v8_linux_avx2_dbg': 'gyp_debug_x86_trybot', |
| 37 'v8_linux_nodcheck_rel_ng': 'gyp_release_x86_minimal_symbols', |
| 38 'v8_linux_dbg_ng': 'gyp_debug_x86_trybot', |
| 39 'v8_linux_noi18n_rel_ng': 'gyp_release_x86_no_i18n_trybot', |
| 40 'v8_linux_gc_stress_dbg': 'gyp_debug_x86_trybot', |
| 41 'v8_linux_nosnap_rel': 'gyp_release_x86_no_snap_trybot', |
| 42 'v8_linux_nosnap_dbg': 'gyp_debug_x86_no_snap_trybot', |
| 43 'v8_linux_gcc_compile_rel': 'gyp_release_x86_gcc_minimal_symbols', |
| 44 'v8_linux_gcc_rel': 'gyp_release_x86_gcc_minimal_symbols', |
21 'v8_linux64_rel_ng': 'gyp_release_x64_trybot', | 45 'v8_linux64_rel_ng': 'gyp_release_x64_trybot', |
22 'v8_linux64_avx2_rel_ng': 'gyp_release_x64_trybot', | 46 'v8_linux64_avx2_rel_ng': 'gyp_release_x64_trybot', |
23 'v8_linux64_avx2_dbg': 'gyp_debug_x64_trybot', | 47 'v8_linux64_avx2_dbg': 'gyp_debug_x64_trybot', |
24 }, | 48 }, |
25 }, | 49 }, |
26 | 50 |
| 51 |
| 52 # To ease readability, config values are ordered by: |
| 53 # gyp/gn, release/debug, arch type, other values alphabetically. |
27 'configs': { | 54 'configs': { |
28 'gyp_debug_custom_x64': [ | 55 # GN release configs x64. |
29 'gyp', 'debug_bot', 'swarming', 'v8_snapshot_custom', 'x64'], | 56 'gn_release_x64': [ |
30 'gyp_debug_valgrind_x64': [ | 57 'gn', 'release_bot', 'x64', 'swarming'], |
31 'gyp', 'debug_bot', 'swarming', 'valgrind', 'x64'], | 58 |
| 59 # Gyp debug configs x64. |
| 60 'gyp_debug_x64_custom': [ |
| 61 'gyp', 'debug_bot', 'x64', 'swarming', 'v8_snapshot_custom'], |
32 'gyp_debug_x64_trybot': [ | 62 'gyp_debug_x64_trybot': [ |
33 'gyp', 'debug_trybot', 'swarming', 'x64'], | 63 'gyp', 'debug_trybot', 'x64', 'swarming'], |
| 64 'gyp_debug_x64_valgrind': [ |
| 65 'gyp', 'debug_bot', 'x64', 'swarming', 'valgrind'], |
| 66 |
| 67 # Gyp debug configs x86. |
| 68 'gyp_debug_x86': [ |
| 69 'gyp', 'debug_bot', 'x86', 'swarming'], |
| 70 'gyp_debug_x86_trybot': [ |
| 71 'gyp', 'debug_trybot', 'x86', 'swarming'], |
| 72 'gyp_debug_x86_no_i18n': [ |
| 73 'gyp', 'debug_bot', 'x86', 'v8_no_i18n'], |
| 74 'gyp_debug_x86_no_snap': [ |
| 75 'gyp', 'debug_bot', 'x86', 'swarming', 'v8_snapshot_none'], |
| 76 'gyp_debug_x86_no_snap_trybot': [ |
| 77 'gyp', 'debug_trybot', 'x86', 'swarming', 'v8_snapshot_none'], |
| 78 'gyp_debug_x86_vtunejit': [ |
| 79 'gyp', 'debug_bot', 'x86', 'v8_enable_vtunejit'], |
| 80 'gyp_full_debug_x86': [ |
| 81 'gyp', 'debug', 'x86', 'goma', 'static', 'v8_enable_slow_dchecks', |
| 82 'v8_full_debug'], |
| 83 |
| 84 # Gyp release configs x64. |
34 'gyp_release_x64': [ | 85 'gyp_release_x64': [ |
35 'gyp', 'release_bot', 'swarming', 'x64'], | 86 'gyp', 'release_bot', 'x64', 'swarming'], |
| 87 'gyp_release_x64_internal': [ |
| 88 'gyp', 'release_bot', 'x64', 'swarming', 'v8_snapshot_internal'], |
36 'gyp_release_x64_trybot': [ | 89 'gyp_release_x64_trybot': [ |
37 'gyp', 'release_trybot', 'swarming', 'x64'], | 90 'gyp', 'release_trybot', 'x64', 'swarming'], |
38 'gyp_release_internal_x64': [ | 91 |
39 'gyp', 'release_bot', 'swarming', 'v8_snapshot_internal', 'x64'], | 92 # Gyp release configs x86. |
40 'gn_release_x64': [ | 93 'gyp_release_x86_gcc': [ |
41 'gn', 'release_bot', 'swarming', 'x64'], | 94 'gyp', 'release_bot', 'x86', 'gcc'], |
| 95 'gyp_release_x86_gcc_minimal_symbols': [ |
| 96 'gyp', 'release_bot', 'x86', 'gcc', 'minimal_symbols'], |
| 97 'gyp_release_x86_interpreted_regexp': [ |
| 98 'gyp', 'release_bot', 'x86', 'v8_interpreted_regexp'], |
| 99 'gyp_release_x86_gcmole': [ |
| 100 'gyp', 'release_bot', 'x86', 'gcmole', 'swarming'], |
| 101 'gyp_release_x86_gcmole_trybot': [ |
| 102 'gyp', 'release_trybot', 'x86', 'gcmole', 'swarming'], |
| 103 'gyp_release_x86_minimal_symbols': [ |
| 104 'gyp', 'release_bot', 'x86', 'minimal_symbols', 'swarming'], |
| 105 'gyp_release_x86_no_i18n_trybot': [ |
| 106 'gyp', 'release_trybot', 'x86', 'swarming', 'v8_no_i18n'], |
| 107 'gyp_release_x86_no_snap': [ |
| 108 'gyp', 'release_bot', 'x86', 'swarming', 'v8_snapshot_none'], |
| 109 'gyp_release_x86_no_snap_trybot': [ |
| 110 'gyp', 'release_trybot', 'x86', 'swarming', 'v8_snapshot_none'], |
| 111 'gyp_release_x86_predictable': [ |
| 112 'gyp', 'release_bot', 'x86', 'v8_enable_verify_predictable'], |
| 113 'gyp_release_x86_shared_verify_heap': [ |
| 114 'gyp', 'release_bot', 'x86', 'shared', 'swarming', 'v8_verify_heap'], |
42 }, | 115 }, |
43 | 116 |
44 'mixins': { | 117 'mixins': { |
45 'dcheck_always_on': { | 118 'dcheck_always_on': { |
46 'gn_args': 'dcheck_always_on=true', | 119 'gn_args': 'dcheck_always_on=true', |
47 'gyp_defines': 'dcheck_always_on=1', | 120 'gyp_defines': 'dcheck_always_on=1', |
48 }, | 121 }, |
49 | 122 |
50 'debug': { | 123 'debug': { |
51 'gn_args': 'is_debug=true', | 124 'gn_args': 'is_debug=true', |
52 }, | 125 }, |
53 | 126 |
54 'debug_bot': { | 127 'debug_bot': { |
55 'mixins': [ | 128 'mixins': [ |
56 'debug', 'static', 'goma', 'v8_enable_slow_dchecks', | 129 'debug', 'static', 'goma', 'v8_enable_slow_dchecks', |
57 'v8_optimized_debug'], | 130 'v8_optimized_debug'], |
58 }, | 131 }, |
59 | 132 |
60 'debug_trybot': { | 133 'debug_trybot': { |
61 'mixins': ['debug_bot', 'minimal_symbols'], | 134 'mixins': ['debug_bot', 'minimal_symbols'], |
62 }, | 135 }, |
63 | 136 |
| 137 'gcc': { |
| 138 'gn_args': 'clang=false', |
| 139 'gyp_defines': 'clang=0', |
| 140 }, |
| 141 |
| 142 'gcmole': { |
| 143 # TODO(machenbach): Add this to gn. |
| 144 'gn_args': 'gcmole=true', |
| 145 'gyp_defines': 'gcmole=1', |
| 146 }, |
| 147 |
64 'gn': {'type': 'gn'}, | 148 'gn': {'type': 'gn'}, |
65 | 149 |
66 'goma': { | 150 'goma': { |
67 # The MB code will properly escape goma_dir if necessary in the GYP | 151 # The MB code will properly escape goma_dir if necessary in the GYP |
68 # code path; the GN code path needs no escaping. | 152 # code path; the GN code path needs no escaping. |
69 'gn_args': 'use_goma=true', | 153 'gn_args': 'use_goma=true', |
70 'gyp_defines': 'use_goma=1', | 154 'gyp_defines': 'use_goma=1', |
71 }, | 155 }, |
72 | 156 |
73 'gyp': {'type': 'gyp'}, | 157 'gyp': {'type': 'gyp'}, |
74 | 158 |
75 'minimal_symbols': { | 159 'minimal_symbols': { |
76 'gn_args': 'symbol_level=1', | 160 'gn_args': 'symbol_level=1', |
77 'gyp_defines': 'fastbuild=1', | 161 'gyp_defines': 'fastbuild=1', |
78 }, | 162 }, |
79 | 163 |
80 'release': { | 164 'release': { |
81 'gn_args': 'is_debug=false', | 165 'gn_args': 'is_debug=false', |
82 }, | 166 }, |
83 | 167 |
84 'release_bot': { | 168 'release_bot': { |
85 'mixins': ['release', 'static', 'goma'], | 169 'mixins': ['release', 'static', 'goma'], |
86 }, | 170 }, |
87 | 171 |
88 'release_trybot': { | 172 'release_trybot': { |
89 'mixins': ['release_bot', 'minimal_symbols', 'dcheck_always_on'], | 173 'mixins': ['release_bot', 'minimal_symbols', 'dcheck_always_on'], |
90 }, | 174 }, |
91 | 175 |
92 #'shared': { | 176 'shared': { |
93 # 'gn_args': 'is_component_build=true', | 177 'gn_args': 'is_component_build=true', |
94 # 'gyp_defines': 'component=shared_library', | 178 'gyp_defines': 'component=shared_library', |
95 #}, | 179 }, |
96 | 180 |
97 'static': { | 181 'static': { |
98 'gn_args': 'is_component_build=false', | 182 'gn_args': 'is_component_build=false', |
99 'gyp_defines': 'component=static_library', | 183 'gyp_defines': 'component=static_library', |
100 }, | 184 }, |
101 | 185 |
102 'swarming': { | 186 'swarming': { |
103 'gn_args': 'v8_test_isolation_mode="prepare"', | 187 'gn_args': 'v8_test_isolation_mode="prepare"', |
104 'gyp_defines': 'test_isolation_mode=prepare', | 188 'gyp_defines': 'test_isolation_mode=prepare', |
105 }, | 189 }, |
106 | 190 |
107 'valgrind': { | 191 'valgrind': { |
108 # TODO(machenbach): Add this to gn. | 192 # TODO(machenbach): Add this to gn. |
109 'gn_args': 'has_valgrind=true', | 193 'gn_args': 'has_valgrind=true', |
110 'gyp_defines': 'has_valgrind=1', | 194 'gyp_defines': 'has_valgrind=1', |
111 }, | 195 }, |
112 | 196 |
| 197 'v8_no_i18n': { |
| 198 'gn_args': 'v8_enable_i18n_support=false', |
| 199 'gyp_defines': 'v8_enable_i18n_support=0', |
| 200 }, |
| 201 |
113 'v8_enable_slow_dchecks': { | 202 'v8_enable_slow_dchecks': { |
114 'gn_args': 'v8_enable_slow_dchecks=true', | 203 'gn_args': 'v8_enable_slow_dchecks=true', |
115 'gyp_defines': 'v8_enable_slow_dchecks=1', | 204 'gyp_defines': 'v8_enable_slow_dchecks=1', |
116 }, | 205 }, |
117 | 206 |
| 207 'v8_enable_verify_predictable': { |
| 208 'gn_args': 'v8_enable_verify_predictable=true', |
| 209 'gyp_defines': 'v8_enable_verify_predictable=1', |
| 210 }, |
| 211 |
| 212 'v8_enable_vtunejit': { |
| 213 'gn_args': 'v8_enable_vtunejit=true', |
| 214 'gyp_defines': 'v8_enable_vtunejit=1', |
| 215 }, |
| 216 |
| 217 'v8_full_debug': { |
| 218 'gn_args': 'v8_optimized_debug=false', |
| 219 'gyp_defines': 'v8_optimized_debug=0', |
| 220 }, |
| 221 |
| 222 'v8_interpreted_regexp': { |
| 223 'gn_args': 'v8_interpreted_regexp=true', |
| 224 'gyp_defines': 'v8_interpreted_regexp=1', |
| 225 }, |
| 226 |
118 'v8_optimized_debug': { | 227 'v8_optimized_debug': { |
119 # This is the default in gn for debug. | 228 # This is the default in gn for debug. |
120 'gyp_defines': 'v8_optimized_debug=1', | 229 'gyp_defines': 'v8_optimized_debug=1', |
121 }, | 230 }, |
122 | 231 |
123 'v8_snapshot_custom': { | 232 'v8_snapshot_custom': { |
124 # TODO(machenbach): Add this to gn. | 233 # TODO(machenbach): Add this to gn. |
125 # Path needs to be relative to src/v8.gyp. | 234 # Path needs to be relative to src/v8.gyp. |
126 'gyp_defines': 'embed_script=../test/mjsunit/mjsunit.js', | 235 'gyp_defines': 'embed_script=../test/mjsunit/mjsunit.js', |
127 }, | 236 }, |
128 | 237 |
129 'v8_snapshot_internal': { | 238 'v8_snapshot_internal': { |
130 'gn_args': 'v8_use_external_startup_data=false', | 239 'gn_args': 'v8_use_external_startup_data=false', |
131 'gyp_defines': 'v8_use_external_startup_data=0', | 240 'gyp_defines': 'v8_use_external_startup_data=0', |
132 }, | 241 }, |
133 | 242 |
| 243 'v8_snapshot_none': { |
| 244 'gn_args': 'v8_use_snapshot=false', |
| 245 'gyp_defines': 'v8_use_snapshot=false', |
| 246 }, |
| 247 |
| 248 'v8_verify_heap': { |
| 249 'gn_args': 'v8_enable_verify_heap=true', |
| 250 'gyp_defines': 'v8_enable_verify_heap=1', |
| 251 }, |
| 252 |
134 'x64': { | 253 'x64': { |
135 'gn_args': 'target_cpu="x64"', | 254 'gn_args': 'target_cpu="x64"', |
136 'gyp_defines': 'target_arch=x64', | 255 'gyp_defines': 'target_arch=x64', |
137 }, | 256 }, |
138 | 257 |
139 #'x86': { | 258 'x86': { |
140 # 'gn_args': 'target_cpu="x86"', | 259 'gn_args': 'target_cpu="x86"', |
141 # 'gyp_defines': 'target_arch=ia32', | 260 'gyp_defines': 'target_arch=ia32', |
142 #}, | 261 }, |
143 }, | 262 }, |
144 } | 263 } |
OLD | NEW |