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

Side by Side Diff: scripts/slave/recipes/v8.expected/full_client_dynamorio_linux_v8_dr.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_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--master", 7 "--master",
8 "client.dynamorio", 8 "client.dynamorio",
9 "--builder", 9 "--builder",
10 "linux-v8-dr", 10 "linux-v8-dr",
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 "@@@STEP_LOG_LINE@json.output@ }@@@", 111 "@@@STEP_LOG_LINE@json.output@ }@@@",
112 "@@@STEP_LOG_LINE@json.output@ ]@@@", 112 "@@@STEP_LOG_LINE@json.output@ ]@@@",
113 "@@@STEP_LOG_LINE@json.output@}@@@", 113 "@@@STEP_LOG_LINE@json.output@}@@@",
114 "@@@STEP_LOG_END@json.output@@@" 114 "@@@STEP_LOG_END@json.output@@@"
115 ] 115 ]
116 }, 116 },
117 { 117 {
118 "cmd": [ 118 "cmd": [
119 "python", 119 "python",
120 "-u", 120 "-u",
121 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
122 ],
123 "name": "ensure_goma.get the number of cpus",
124 "stdout": "/path/to/tmp/",
125 "~followup_annotations": [
126 "@@@STEP_NEST_LEVEL@1@@@",
127 "@@@STEP_LOG_LINE@python.inline@@@@",
128 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
129 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
130 "@@@STEP_LOG_END@python.inline@@@"
131 ]
132 },
133 {
134 "cmd": [
135 "python",
136 "-u",
121 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 137 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
122 "runhooks" 138 "runhooks"
123 ], 139 ],
124 "cwd": "[SLAVE_BUILD]/v8", 140 "cwd": "[SLAVE_BUILD]/v8",
125 "env": { 141 "env": {
126 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 142 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
127 "GYP_DEFINES": "gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1 v8_ target_arch=x64", 143 "GYP_DEFINES": "gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1 v8_ target_arch=x64",
128 "GYP_GENERATORS": "ninja", 144 "GYP_GENERATORS": "ninja",
129 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 145 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
130 }, 146 },
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@", 349 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@",
334 "@@@STEP_LOG_END@durations@@@" 350 "@@@STEP_LOG_END@durations@@@"
335 ] 351 ]
336 }, 352 },
337 { 353 {
338 "name": "$result", 354 "name": "$result",
339 "recipe_result": null, 355 "recipe_result": null,
340 "status_code": 0 356 "status_code": 0
341 } 357 }
342 ] 358 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698