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

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

Powered by Google App Engine
This is Rietveld 408576698