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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android64_builder.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: 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]/Android64_Builder", 7 "[BUILDER_CACHE]/Android64_Builder",
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\nprint min(200, multiprocessing.cpu_count() * 10 )\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@print min(200, multiprocessing.cpu_count() * 10)@@@",
188 "@@@STEP_LOG_END@python.inline@@@"
189 ]
190 },
191 {
192 "cmd": [
193 "python",
194 "-u",
179 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 195 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
180 "runhooks" 196 "runhooks"
181 ], 197 ],
182 "cwd": "[BUILDER_CACHE]/Android64_Builder/src", 198 "cwd": "[BUILDER_CACHE]/Android64_Builder/src",
183 "env": { 199 "env": {
184 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 200 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
185 "GYP_CHROMIUM_NO_ACTION": "1", 201 "GYP_CHROMIUM_NO_ACTION": "1",
186 "GYP_CROSSCOMPILE": "1", 202 "GYP_CROSSCOMPILE": "1",
187 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ CACHE]/cipd/goma' target_arch=arm64 use_goma=1", 203 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ CACHE]/cipd/goma' target_arch=arm64 use_goma=1",
188 "PATH": "[BUILDER_CACHE]/Android64_Builder/src/third_party/android_tools/s dk/platform-tools:[BUILDER_CACHE]/Android64_Builder/src/build/android:%(PATH)s:R ECIPE_PACKAGE_REPO[depot_tools]" 204 "PATH": "[BUILDER_CACHE]/Android64_Builder/src/third_party/android_tools/s dk/platform-tools:[BUILDER_CACHE]/Android64_Builder/src/build/android:%(PATH)s:R ECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 "~followup_annotations": [ 312 "~followup_annotations": [
297 "@@@STEP_TEXT@Android64 Tests (L Nexus9)@@@" 313 "@@@STEP_TEXT@Android64 Tests (L Nexus9)@@@"
298 ] 314 ]
299 }, 315 },
300 { 316 {
301 "name": "$result", 317 "name": "$result",
302 "recipe_result": null, 318 "recipe_result": null,
303 "status_code": 0 319 "status_code": 0
304 } 320 }
305 ] 321 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698