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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_mac_baremetal.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 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py", 4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py",
5 "--json-file", 5 "--json-file",
6 "/path/to/tmp/json" 6 "/path/to/tmp/json"
7 ], 7 ],
8 "name": "host and tools info", 8 "name": "host and tools info",
9 "~followup_annotations": [ 9 "~followup_annotations": [
10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", 10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@",
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 "@@@STEP_LOG_LINE@json.output@ }@@@", 181 "@@@STEP_LOG_LINE@json.output@ }@@@",
182 "@@@STEP_LOG_LINE@json.output@ ]@@@", 182 "@@@STEP_LOG_LINE@json.output@ ]@@@",
183 "@@@STEP_LOG_LINE@json.output@}@@@", 183 "@@@STEP_LOG_LINE@json.output@}@@@",
184 "@@@STEP_LOG_END@json.output@@@" 184 "@@@STEP_LOG_END@json.output@@@"
185 ] 185 ]
186 }, 186 },
187 { 187 {
188 "cmd": [ 188 "cmd": [
189 "python", 189 "python",
190 "-u", 190 "-u",
191 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
192 ],
193 "name": "ensure_goma.get the number of cpus",
194 "stdout": "/path/to/tmp/",
195 "~followup_annotations": [
196 "@@@STEP_NEST_LEVEL@1@@@",
197 "@@@STEP_LOG_LINE@python.inline@@@@",
198 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
199 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
200 "@@@STEP_LOG_END@python.inline@@@"
201 ]
202 },
203 {
204 "cmd": [
205 "python",
206 "-u",
191 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 207 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
192 "runhooks" 208 "runhooks"
193 ], 209 ],
194 "cwd": "[BUILDER_CACHE]/mac_baremetal/src", 210 "cwd": "[BUILDER_CACHE]/mac_baremetal/src",
195 "env": { 211 "env": {
196 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 212 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
197 "GYP_CHROMIUM_NO_ACTION": "1", 213 "GYP_CHROMIUM_NO_ACTION": "1",
198 "GYP_DEFINES": "clang=1 component=static_library dcheck_always_on=1 fastbu ild=1 ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' rtc_use_h264=1 target_a rch=x64 use_goma=1", 214 "GYP_DEFINES": "clang=1 component=static_library dcheck_always_on=1 fastbu ild=1 ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' rtc_use_h264=1 target_a rch=x64 use_goma=1",
199 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 215 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
200 }, 216 },
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 ], 383 ],
368 "cwd": "[BUILDER_CACHE]/mac_baremetal", 384 "cwd": "[BUILDER_CACHE]/mac_baremetal",
369 "name": "video_capture_tests" 385 "name": "video_capture_tests"
370 }, 386 },
371 { 387 {
372 "name": "$result", 388 "name": "$result",
373 "recipe_result": null, 389 "recipe_result": null,
374 "status_code": 0 390 "status_code": 0
375 } 391 }
376 ] 392 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698