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

Side by Side Diff: scripts/slave/recipes/wasm_llvm.expected/linux.json

Issue 2480193002: Stop to use contextmanager for goma.build_with_goma (Closed)
Patch Set: update Created 4 years, 1 month 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_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--spec", 7 "--spec",
8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/git hub.com/WebAssembly/waterfall.git'}]", 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/git hub.com/WebAssembly/waterfall.git'}]",
9 "--patch_root", 9 "--patch_root",
10 "src", 10 "src",
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 ], 139 ],
140 "env": { 140 "env": {
141 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 141 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
142 }, 142 },
143 "name": "preprocess_for_goma.start cloudtail", 143 "name": "preprocess_for_goma.start cloudtail",
144 "~followup_annotations": [ 144 "~followup_annotations": [
145 "@@@STEP_NEST_LEVEL@1@@@" 145 "@@@STEP_NEST_LEVEL@1@@@"
146 ] 146 ]
147 }, 147 },
148 { 148 {
149 "cmd": [
150 "python",
151 "-u",
152 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform. startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep t NotImplementedError:\n jobs = 50\n\nprint jobs\n"
153 ],
154 "name": "calculate the number of recommended jobs",
155 "stdout": "/path/to/tmp/",
156 "~followup_annotations": [
157 "@@@STEP_LOG_LINE@python.inline@@@@",
158 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
159 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
160 "@@@STEP_LOG_LINE@python.inline@@@@",
161 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
162 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
163 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
164 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
165 "@@@STEP_LOG_LINE@python.inline@@@@",
166 "@@@STEP_LOG_LINE@python.inline@try:@@@",
167 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
168 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
169 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
170 "@@@STEP_LOG_LINE@python.inline@@@@",
171 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
172 "@@@STEP_LOG_END@python.inline@@@"
173 ]
174 },
175 {
149 "allow_subannotations": true, 176 "allow_subannotations": true,
150 "cmd": [ 177 "cmd": [
151 "python", 178 "python",
152 "-u", 179 "-u",
153 "[SLAVE_BUILD]/src/src/build.py" 180 "[SLAVE_BUILD]/src/src/build.py"
154 ], 181 ],
155 "cwd": "[SLAVE_BUILD]/src", 182 "cwd": "[SLAVE_BUILD]/src",
156 "env": { 183 "env": {
157 "BUILDBOT_BUILDERNAME": "linux", 184 "BUILDBOT_BUILDERNAME": "linux",
158 "BUILDBOT_GOT_WATERFALL_REVISION": "f27fede2220bcd326aee3e86ddfd4ebd0fe58c b9", 185 "BUILDBOT_GOT_WATERFALL_REVISION": "f27fede2220bcd326aee3e86ddfd4ebd0fe58c b9",
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 "~followup_annotations": [ 277 "~followup_annotations": [
251 "@@@STEP_NEST_LEVEL@1@@@" 278 "@@@STEP_NEST_LEVEL@1@@@"
252 ] 279 ]
253 }, 280 },
254 { 281 {
255 "name": "$result", 282 "name": "$result",
256 "recipe_result": null, 283 "recipe_result": null,
257 "status_code": 0 284 "status_code": 0
258 } 285 }
259 ] 286 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698