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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_webrtc_Win_Builder.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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 "@@@STEP_LOG_LINE@json.output@ }@@@", 207 "@@@STEP_LOG_LINE@json.output@ }@@@",
208 "@@@STEP_LOG_LINE@json.output@ ]@@@", 208 "@@@STEP_LOG_LINE@json.output@ ]@@@",
209 "@@@STEP_LOG_LINE@json.output@}@@@", 209 "@@@STEP_LOG_LINE@json.output@}@@@",
210 "@@@STEP_LOG_END@json.output@@@" 210 "@@@STEP_LOG_END@json.output@@@"
211 ] 211 ]
212 }, 212 },
213 { 213 {
214 "cmd": [ 214 "cmd": [
215 "python", 215 "python",
216 "-u", 216 "-u",
217 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
218 ],
219 "name": "ensure_goma.get the number of cpus",
220 "stdout": "/path/to/tmp/",
221 "~followup_annotations": [
222 "@@@STEP_NEST_LEVEL@1@@@",
223 "@@@STEP_LOG_LINE@python.inline@@@@",
224 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
225 "@@@STEP_LOG_LINE@python.inline@@@@",
226 "@@@STEP_LOG_LINE@python.inline@try:@@@",
227 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
228 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
229 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
230 "@@@STEP_LOG_LINE@python.inline@@@@",
231 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
232 "@@@STEP_LOG_END@python.inline@@@"
233 ]
234 },
235 {
236 "cmd": [
237 "python",
238 "-u",
217 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", 239 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
218 "runhooks" 240 "runhooks"
219 ], 241 ],
220 "cwd": "[BUILDER_CACHE]\\Win_Builder\\src", 242 "cwd": "[BUILDER_CACHE]\\Win_Builder\\src",
221 "env": { 243 "env": {
222 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json", 244 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json",
223 "GYP_CHROMIUM_NO_ACTION": "1", 245 "GYP_CHROMIUM_NO_ACTION": "1",
224 "GYP_DEFINES": "blink_logging_always_on=1 component=static_library dcheck_ always_on=1 fastbuild=1 ffmpeg_branding=Chrome gomadir='[CACHE]\\cipd\\goma' pro prietary_codecs=1 target_arch=ia32 use_goma=1", 246 "GYP_DEFINES": "blink_logging_always_on=1 component=static_library dcheck_ always_on=1 fastbuild=1 ffmpeg_branding=Chrome gomadir='[CACHE]\\cipd\\goma' pro prietary_codecs=1 target_arch=ia32 use_goma=1",
225 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" 247 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
226 }, 248 },
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 "~followup_annotations": [ 468 "~followup_annotations": [
447 "@@@STEP_TEXT@Win10 Tester<br />Win7 Tester<br />Win8 Tester@@@" 469 "@@@STEP_TEXT@Win10 Tester<br />Win7 Tester<br />Win8 Tester@@@"
448 ] 470 ]
449 }, 471 },
450 { 472 {
451 "name": "$result", 473 "name": "$result",
452 "recipe_result": null, 474 "recipe_result": null,
453 "status_code": 0 475 "status_code": 0
454 } 476 }
455 ] 477 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698