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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_clang__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]/Android32_Clang__dbg_", 7 "[BUILDER_CACHE]/Android32_Clang__dbg_",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 "@@@STEP_LOG_LINE@json.output@ }@@@", 169 "@@@STEP_LOG_LINE@json.output@ }@@@",
170 "@@@STEP_LOG_LINE@json.output@ ]@@@", 170 "@@@STEP_LOG_LINE@json.output@ ]@@@",
171 "@@@STEP_LOG_LINE@json.output@}@@@", 171 "@@@STEP_LOG_LINE@json.output@}@@@",
172 "@@@STEP_LOG_END@json.output@@@" 172 "@@@STEP_LOG_END@json.output@@@"
173 ] 173 ]
174 }, 174 },
175 { 175 {
176 "cmd": [ 176 "cmd": [
177 "python", 177 "python",
178 "-u", 178 "-u",
179 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
180 ],
181 "name": "ensure_goma.get the number of cpus",
182 "stdout": "/path/to/tmp/",
183 "~followup_annotations": [
184 "@@@STEP_NEST_LEVEL@1@@@",
185 "@@@STEP_LOG_LINE@python.inline@@@@",
186 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
187 "@@@STEP_LOG_LINE@python.inline@@@@",
188 "@@@STEP_LOG_LINE@python.inline@try:@@@",
189 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
190 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
191 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
192 "@@@STEP_LOG_LINE@python.inline@@@@",
193 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
194 "@@@STEP_LOG_END@python.inline@@@"
195 ]
196 },
197 {
198 "cmd": [
199 "python",
200 "-u",
179 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 201 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
180 "runhooks" 202 "runhooks"
181 ], 203 ],
182 "cwd": "[BUILDER_CACHE]/Android32_Clang__dbg_/src", 204 "cwd": "[BUILDER_CACHE]/Android32_Clang__dbg_/src",
183 "env": { 205 "env": {
184 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 206 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
185 "GYP_CHROMIUM_NO_ACTION": "1", 207 "GYP_CHROMIUM_NO_ACTION": "1",
186 "GYP_CROSSCOMPILE": "1", 208 "GYP_CROSSCOMPILE": "1",
187 "GYP_DEFINES": "OS=android clang=1 component=static_library fastbuild=1 go madir='[CACHE]/cipd/goma' target_arch=arm use_goma=1", 209 "GYP_DEFINES": "OS=android clang=1 component=static_library fastbuild=1 go madir='[CACHE]/cipd/goma' target_arch=arm use_goma=1",
188 "PATH": "[BUILDER_CACHE]/Android32_Clang__dbg_/src/third_party/android_too ls/sdk/platform-tools:[BUILDER_CACHE]/Android32_Clang__dbg_/src/build/android:%( PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 210 "PATH": "[BUILDER_CACHE]/Android32_Clang__dbg_/src/third_party/android_too ls/sdk/platform-tools:[BUILDER_CACHE]/Android32_Clang__dbg_/src/build/android:%( PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 296 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
275 "@@@STEP_LOG_END@json.output (invalid)@@@" 297 "@@@STEP_LOG_END@json.output (invalid)@@@"
276 ] 298 ]
277 }, 299 },
278 { 300 {
279 "name": "$result", 301 "name": "$result",
280 "recipe_result": null, 302 "recipe_result": null,
281 "status_code": 0 303 "status_code": 0
282 } 304 }
283 ] 305 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698