Index: scripts/slave/recipes/chromium.expected/buildnumber_zero.json |
diff --git a/scripts/slave/recipes/chromium.expected/buildnumber_zero.json b/scripts/slave/recipes/chromium.expected/buildnumber_zero.json |
index 988f86a907d56f76d521d48efc84851820f5c535..7f1c5262b3e03f2daad801dc807bebfa580cd938 100644 |
--- a/scripts/slave/recipes/chromium.expected/buildnumber_zero.json |
+++ b/scripts/slave/recipes/chromium.expected/buildnumber_zero.json |
@@ -167,6 +167,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", |
"[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", |
"--version" |
], |