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

Side by Side Diff: scripts/slave/recipes/ios/try.expected/gn.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 "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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@", 247 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@",
248 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/mac-amd64\"@@@", 248 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/mac-amd64\"@@@",
249 "@@@STEP_LOG_LINE@json.output@ }@@@", 249 "@@@STEP_LOG_LINE@json.output@ }@@@",
250 "@@@STEP_LOG_LINE@json.output@ ]@@@", 250 "@@@STEP_LOG_LINE@json.output@ ]@@@",
251 "@@@STEP_LOG_LINE@json.output@}@@@", 251 "@@@STEP_LOG_LINE@json.output@}@@@",
252 "@@@STEP_LOG_END@json.output@@@" 252 "@@@STEP_LOG_END@json.output@@@"
253 ] 253 ]
254 }, 254 },
255 { 255 {
256 "cmd": [ 256 "cmd": [
257 "python",
258 "-u",
259 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
260 ],
261 "name": "ensure_goma.get the number of cpus",
262 "stdout": "/path/to/tmp/",
263 "~followup_annotations": [
264 "@@@STEP_NEST_LEVEL@1@@@",
265 "@@@STEP_LOG_LINE@python.inline@@@@",
266 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
267 "@@@STEP_LOG_LINE@python.inline@@@@",
268 "@@@STEP_LOG_LINE@python.inline@try:@@@",
269 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
270 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
271 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
272 "@@@STEP_LOG_LINE@python.inline@@@@",
273 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
274 "@@@STEP_LOG_END@python.inline@@@"
275 ]
276 },
277 {
278 "cmd": [
257 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/find_xcode.py", 279 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/find_xcode.py",
258 "--json-file", 280 "--json-file",
259 "/path/to/tmp/json", 281 "/path/to/tmp/json",
260 "--version", 282 "--version",
261 "fake xcode version" 283 "fake xcode version"
262 ], 284 ],
263 "name": "find xcode", 285 "name": "find xcode",
264 "~followup_annotations": [ 286 "~followup_annotations": [
265 "@@@STEP_LOG_LINE@json.output@{}@@@", 287 "@@@STEP_LOG_LINE@json.output@{}@@@",
266 "@@@STEP_LOG_END@json.output@@@" 288 "@@@STEP_LOG_END@json.output@@@"
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 "@@@STEP_LOG_END@json.output@@@", 843 "@@@STEP_LOG_END@json.output@@@",
822 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@" 844 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@"
823 ] 845 ]
824 }, 846 },
825 { 847 {
826 "name": "$result", 848 "name": "$result",
827 "recipe_result": null, 849 "recipe_result": null,
828 "status_code": 0 850 "status_code": 0
829 } 851 }
830 ] 852 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698