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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_Win_x64.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_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py" 6 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py"
7 ], 7 ],
8 "name": "taskkill" 8 "name": "taskkill"
9 }, 9 },
10 { 10 {
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 "@@@STEP_LOG_LINE@json.output@ }@@@", 191 "@@@STEP_LOG_LINE@json.output@ }@@@",
192 "@@@STEP_LOG_LINE@json.output@ ]@@@", 192 "@@@STEP_LOG_LINE@json.output@ ]@@@",
193 "@@@STEP_LOG_LINE@json.output@}@@@", 193 "@@@STEP_LOG_LINE@json.output@}@@@",
194 "@@@STEP_LOG_END@json.output@@@" 194 "@@@STEP_LOG_END@json.output@@@"
195 ] 195 ]
196 }, 196 },
197 { 197 {
198 "cmd": [ 198 "cmd": [
199 "python", 199 "python",
200 "-u", 200 "-u",
201 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
202 ],
203 "name": "ensure_goma.get the number of cpus",
204 "stdout": "/path/to/tmp/",
205 "~followup_annotations": [
206 "@@@STEP_NEST_LEVEL@1@@@",
207 "@@@STEP_LOG_LINE@python.inline@@@@",
208 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
209 "@@@STEP_LOG_LINE@python.inline@@@@",
210 "@@@STEP_LOG_LINE@python.inline@try:@@@",
211 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
212 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
213 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
214 "@@@STEP_LOG_LINE@python.inline@@@@",
215 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
216 "@@@STEP_LOG_END@python.inline@@@"
217 ]
218 },
219 {
220 "cmd": [
221 "python",
222 "-u",
201 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n", 223 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
202 "[BUILDER_CACHE]\\win_x64_archive\\src\\out\\Release_x64" 224 "[BUILDER_CACHE]\\win_x64_archive\\src\\out\\Release_x64"
203 ], 225 ],
204 "name": "rmtree clobber", 226 "name": "rmtree clobber",
205 "~followup_annotations": [ 227 "~followup_annotations": [
206 "@@@STEP_LOG_LINE@python.inline@@@@", 228 "@@@STEP_LOG_LINE@python.inline@@@@",
207 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 229 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
208 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 230 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
209 "@@@STEP_LOG_LINE@python.inline@@@@", 231 "@@@STEP_LOG_LINE@python.inline@@@@",
210 "@@@STEP_LOG_LINE@python.inline@@@@", 232 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 "dev" 384 "dev"
363 ], 385 ],
364 "name": "archive_build" 386 "name": "archive_build"
365 }, 387 },
366 { 388 {
367 "name": "$result", 389 "name": "$result",
368 "recipe_result": null, 390 "recipe_result": null,
369 "status_code": 0 391 "status_code": 0
370 } 392 }
371 ] 393 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698