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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_mips_dbg.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 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[BUILDER_CACHE]/android_compile_mips_dbg", 7 "[BUILDER_CACHE]/android_compile_mips_dbg",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 "@@@STEP_LOG_LINE@json.output@ }@@@", 175 "@@@STEP_LOG_LINE@json.output@ }@@@",
176 "@@@STEP_LOG_LINE@json.output@ ]@@@", 176 "@@@STEP_LOG_LINE@json.output@ ]@@@",
177 "@@@STEP_LOG_LINE@json.output@}@@@", 177 "@@@STEP_LOG_LINE@json.output@}@@@",
178 "@@@STEP_LOG_END@json.output@@@" 178 "@@@STEP_LOG_END@json.output@@@"
179 ] 179 ]
180 }, 180 },
181 { 181 {
182 "cmd": [ 182 "cmd": [
183 "python", 183 "python",
184 "-u", 184 "-u",
185 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
186 ],
187 "name": "ensure_goma.get the number of cpus",
188 "stdout": "/path/to/tmp/",
189 "~followup_annotations": [
190 "@@@STEP_NEST_LEVEL@1@@@",
191 "@@@STEP_LOG_LINE@python.inline@@@@",
192 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
193 "@@@STEP_LOG_LINE@python.inline@@@@",
194 "@@@STEP_LOG_LINE@python.inline@try:@@@",
195 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
196 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
197 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
198 "@@@STEP_LOG_LINE@python.inline@@@@",
199 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
200 "@@@STEP_LOG_END@python.inline@@@"
201 ]
202 },
203 {
204 "cmd": [
205 "python",
206 "-u",
185 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 207 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
186 "runhooks" 208 "runhooks"
187 ], 209 ],
188 "cwd": "[BUILDER_CACHE]/android_compile_mips_dbg/src", 210 "cwd": "[BUILDER_CACHE]/android_compile_mips_dbg/src",
189 "env": { 211 "env": {
190 "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",
191 "GYP_CHROMIUM_NO_ACTION": "1", 213 "GYP_CHROMIUM_NO_ACTION": "1",
192 "GYP_CROSSCOMPILE": "1", 214 "GYP_CROSSCOMPILE": "1",
193 "GYP_DEFINES": "OS=android clang=1 component=static_library dcheck_always_ on=1 fastbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=mipsel use_goma=1", 215 "GYP_DEFINES": "OS=android clang=1 component=static_library dcheck_always_ on=1 fastbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=mipsel use_goma=1",
194 "PATH": "[BUILDER_CACHE]/android_compile_mips_dbg/src/third_party/android_ tools/sdk/platform-tools:[BUILDER_CACHE]/android_compile_mips_dbg/src/build/andr oid:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 216 "PATH": "[BUILDER_CACHE]/android_compile_mips_dbg/src/third_party/android_ tools/sdk/platform-tools:[BUILDER_CACHE]/android_compile_mips_dbg/src/build/andr oid:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 304 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
283 "@@@STEP_LOG_END@json.output (invalid)@@@" 305 "@@@STEP_LOG_END@json.output (invalid)@@@"
284 ] 306 ]
285 }, 307 },
286 { 308 {
287 "name": "$result", 309 "name": "$result",
288 "recipe_result": null, 310 "recipe_result": null,
289 "status_code": 0 311 "status_code": 0
290 } 312 }
291 ] 313 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698