Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Side by Side Diff: scripts/slave/recipes/v8.expected/full_client_v8_V8_Win32___builder.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: use 80 for linux Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py" 6 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py"
7 ], 7 ],
8 "name": "taskkill" 8 "name": "taskkill"
9 }, 9 },
10 { 10 {
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 "@@@STEP_LOG_LINE@json.output@ }@@@", 140 "@@@STEP_LOG_LINE@json.output@ }@@@",
141 "@@@STEP_LOG_LINE@json.output@ ]@@@", 141 "@@@STEP_LOG_LINE@json.output@ ]@@@",
142 "@@@STEP_LOG_LINE@json.output@}@@@", 142 "@@@STEP_LOG_LINE@json.output@}@@@",
143 "@@@STEP_LOG_END@json.output@@@" 143 "@@@STEP_LOG_END@json.output@@@"
144 ] 144 ]
145 }, 145 },
146 { 146 {
147 "cmd": [ 147 "cmd": [
148 "python", 148 "python",
149 "-u", 149 "-u",
150 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
151 ],
152 "name": "ensure_goma.get the number of cpus",
153 "stdout": "/path/to/tmp/",
154 "~followup_annotations": [
155 "@@@STEP_NEST_LEVEL@1@@@",
156 "@@@STEP_LOG_LINE@python.inline@@@@",
157 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
158 "@@@STEP_LOG_LINE@python.inline@@@@",
159 "@@@STEP_LOG_LINE@python.inline@try:@@@",
160 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
161 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
162 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
163 "@@@STEP_LOG_LINE@python.inline@@@@",
164 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
165 "@@@STEP_LOG_END@python.inline@@@"
166 ]
167 },
168 {
169 "cmd": [
170 "python",
171 "-u",
150 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", 172 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
151 "runhooks" 173 "runhooks"
152 ], 174 ],
153 "cwd": "[SLAVE_BUILD]\\v8", 175 "cwd": "[SLAVE_BUILD]\\v8",
154 "env": { 176 "env": {
155 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json", 177 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json",
156 "GYP_CHROMIUM_NO_ACTION": "1", 178 "GYP_CHROMIUM_NO_ACTION": "1",
157 "GYP_DEFINES": "fastbuild=1 gomadir='[CACHE]\\cipd\\goma' target_arch=ia32 test_isolation_mode=prepare use_goma=1 v8_target_arch=ia32", 179 "GYP_DEFINES": "fastbuild=1 gomadir='[CACHE]\\cipd\\goma' target_arch=ia32 test_isolation_mode=prepare use_goma=1 v8_target_arch=ia32",
158 "GYP_GENERATORS": "ninja", 180 "GYP_GENERATORS": "ninja",
159 "GYP_MSVS_VERSION": "2013", 181 "GYP_MSVS_VERSION": "2013",
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 "~followup_annotations": [ 434 "~followup_annotations": [
413 "@@@STEP_TEXT@V8 Win32@@@" 435 "@@@STEP_TEXT@V8 Win32@@@"
414 ] 436 ]
415 }, 437 },
416 { 438 {
417 "name": "$result", 439 "name": "$result",
418 "recipe_result": null, 440 "recipe_result": null,
419 "status_code": 0 441 "status_code": 0
420 } 442 }
421 ] 443 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698