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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_fyi_Print_Preview_Win.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 "@@@STEP_LOG_LINE@json.output@ }@@@", 190 "@@@STEP_LOG_LINE@json.output@ }@@@",
191 "@@@STEP_LOG_LINE@json.output@ ]@@@", 191 "@@@STEP_LOG_LINE@json.output@ ]@@@",
192 "@@@STEP_LOG_LINE@json.output@}@@@", 192 "@@@STEP_LOG_LINE@json.output@}@@@",
193 "@@@STEP_LOG_END@json.output@@@" 193 "@@@STEP_LOG_END@json.output@@@"
194 ] 194 ]
195 }, 195 },
196 { 196 {
197 "cmd": [ 197 "cmd": [
198 "python", 198 "python",
199 "-u", 199 "-u",
200 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
201 ],
202 "name": "ensure_goma.get the number of cpus",
203 "stdout": "/path/to/tmp/",
204 "~followup_annotations": [
205 "@@@STEP_NEST_LEVEL@1@@@",
206 "@@@STEP_LOG_LINE@python.inline@@@@",
207 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
208 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
209 "@@@STEP_LOG_END@python.inline@@@"
210 ]
211 },
212 {
213 "cmd": [
214 "python",
215 "-u",
200 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", 216 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
201 "runhooks" 217 "runhooks"
202 ], 218 ],
203 "cwd": "[BUILDER_CACHE]\\Print_Preview_Win\\src", 219 "cwd": "[BUILDER_CACHE]\\Print_Preview_Win\\src",
204 "env": { 220 "env": {
205 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json", 221 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json",
206 "GYP_DEFINES": "component=shared_library fastbuild=1 gomadir='[CACHE]\\cip d\\goma' target_arch=ia32 use_goma=1", 222 "GYP_DEFINES": "component=shared_library fastbuild=1 gomadir='[CACHE]\\cip d\\goma' target_arch=ia32 use_goma=1",
207 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" 223 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
208 }, 224 },
209 "name": "gclient runhooks" 225 "name": "gclient runhooks"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 355 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
340 }, 356 },
341 "name": "process_dumps" 357 "name": "process_dumps"
342 }, 358 },
343 { 359 {
344 "name": "$result", 360 "name": "$result",
345 "recipe_result": null, 361 "recipe_result": null,
346 "status_code": 0 362 "status_code": 0
347 } 363 }
348 ] 364 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698