| Index: scripts/slave/recipes/chromium.expected/full_chromium_chromiumos_ChromiumOS_x86_generic_Compile.json
|
| diff --git a/scripts/slave/recipes/chromium.expected/full_chromium_chromiumos_ChromiumOS_x86_generic_Compile.json b/scripts/slave/recipes/chromium.expected/full_chromium_chromiumos_ChromiumOS_x86_generic_Compile.json
|
| index bf73e224ce17cb2768f98be12b7a2a66108bf966..1a4531ac0acf5e24b21b15bb1fd9a0668fda8fb0 100644
|
| --- a/scripts/slave/recipes/chromium.expected/full_chromium_chromiumos_ChromiumOS_x86_generic_Compile.json
|
| +++ b/scripts/slave/recipes/chromium.expected/full_chromium_chromiumos_ChromiumOS_x86_generic_Compile.json
|
| @@ -189,6 +189,28 @@
|
| },
|
| {
|
| "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_count() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\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@@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@try:@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_count() * 10)@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
|
| + "@@@STEP_LOG_END@python.inline@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| "RECIPE_PACKAGE_REPO[depot_tools]/cros",
|
| "chrome-sdk",
|
| "--board=x86-generic",
|
|
|