Index: scripts/slave/recipes/chromium.expected/full_bot_update_always_on_coverage_clobber.json |
diff --git a/scripts/slave/recipes/chromium.expected/full_bot_update_always_on_coverage_clobber.json b/scripts/slave/recipes/chromium.expected/full_bot_update_always_on_coverage_clobber.json |
index 08571f7cd80c145418b67cb5bfc38c2ce0723ebc..7dbe8b08e00cbec562275e939df84b9800f2a465 100644 |
--- a/scripts/slave/recipes/chromium.expected/full_bot_update_always_on_coverage_clobber.json |
+++ b/scripts/slave/recipes/chromium.expected/full_bot_update_always_on_coverage_clobber.json |
@@ -191,6 +191,22 @@ |
"cmd": [ |
"python", |
"-u", |
+ "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10)\n" |
+ ], |
+ "name": "ensure_goma.get the number of cpus", |
+ "stdout": "/path/to/tmp/", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
+ "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@", |
+ "@@@STEP_LOG_END@python.inline@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
"runhooks" |
], |