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

Side by Side Diff: scripts/slave/recipes/v8.expected/full_client_v8_V8_Linux64___builder.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.v8", 8 "client.v8",
9 "--builder", 9 "--builder",
10 "V8 Linux64 - builder", 10 "V8 Linux64 - builder",
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 "@@@STEP_LOG_LINE@json.output@ }@@@", 132 "@@@STEP_LOG_LINE@json.output@ }@@@",
133 "@@@STEP_LOG_LINE@json.output@ ]@@@", 133 "@@@STEP_LOG_LINE@json.output@ ]@@@",
134 "@@@STEP_LOG_LINE@json.output@}@@@", 134 "@@@STEP_LOG_LINE@json.output@}@@@",
135 "@@@STEP_LOG_END@json.output@@@" 135 "@@@STEP_LOG_END@json.output@@@"
136 ] 136 ]
137 }, 137 },
138 { 138 {
139 "cmd": [ 139 "cmd": [
140 "python", 140 "python",
141 "-u", 141 "-u",
142 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
143 ],
144 "name": "ensure_goma.get the number of cpus",
145 "stdout": "/path/to/tmp/",
146 "~followup_annotations": [
147 "@@@STEP_NEST_LEVEL@1@@@",
148 "@@@STEP_LOG_LINE@python.inline@@@@",
149 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
150 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
151 "@@@STEP_LOG_END@python.inline@@@"
152 ]
153 },
154 {
155 "cmd": [
156 "python",
157 "-u",
142 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 158 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
143 "runhooks" 159 "runhooks"
144 ], 160 ],
145 "cwd": "[SLAVE_BUILD]/v8", 161 "cwd": "[SLAVE_BUILD]/v8",
146 "env": { 162 "env": {
147 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 163 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
148 "GYP_CHROMIUM_NO_ACTION": "1", 164 "GYP_CHROMIUM_NO_ACTION": "1",
149 "GYP_DEFINES": "gomadir='[CACHE]/cipd/goma' target_arch=x64 test_isolation _mode=prepare use_goma=1 v8_target_arch=x64", 165 "GYP_DEFINES": "gomadir='[CACHE]/cipd/goma' target_arch=x64 test_isolation _mode=prepare use_goma=1 v8_target_arch=x64",
150 "GYP_GENERATORS": "ninja", 166 "GYP_GENERATORS": "ninja",
151 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 167 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 "~followup_annotations": [ 498 "~followup_annotations": [
483 "@@@STEP_TEXT@v8_trigger_proxy@@@" 499 "@@@STEP_TEXT@v8_trigger_proxy@@@"
484 ] 500 ]
485 }, 501 },
486 { 502 {
487 "name": "$result", 503 "name": "$result",
488 "recipe_result": null, 504 "recipe_result": null,
489 "status_code": 0 505 "status_code": 0
490 } 506 }
491 ] 507 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698