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

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: 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_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\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\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@@@@",
130 "@@@STEP_LOG_LINE@python.inline@try:@@@",
131 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
132 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
133 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
134 "@@@STEP_LOG_LINE@python.inline@@@@",
135 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
136 "@@@STEP_LOG_END@python.inline@@@"
137 ]
138 },
139 {
140 "cmd": [
141 "python",
142 "-u",
121 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 143 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
122 "runhooks" 144 "runhooks"
123 ], 145 ],
124 "cwd": "[SLAVE_BUILD]/v8", 146 "cwd": "[SLAVE_BUILD]/v8",
125 "env": { 147 "env": {
126 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 148 "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", 149 "GYP_DEFINES": "gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1 v8_ target_arch=x64",
128 "GYP_GENERATORS": "ninja", 150 "GYP_GENERATORS": "ninja",
129 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 151 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
130 }, 152 },
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@", 355 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@",
334 "@@@STEP_LOG_END@durations@@@" 356 "@@@STEP_LOG_END@durations@@@"
335 ] 357 ]
336 }, 358 },
337 { 359 {
338 "name": "$result", 360 "name": "$result",
339 "recipe_result": null, 361 "recipe_result": null,
340 "status_code": 0 362 "status_code": 0
341 } 363 }
342 ] 364 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698