Set NINJA_CORE_MULTIPLIER to 1.

- autoninja.py uses this to set the number
of parallel commands for Goma. Reduce to 1
command per-core, at least until Goma fork
issue is fixed.

BUG=chromium:998076
TEST=./run_tests

Change-Id: I8580f4112e07ca7cef94c426319591b8da3aabd9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/1775094
Tested-by: Andrew Lamb <andrewlamb@chromium.org>
Reviewed-by: LaMont Jones <lamontjones@chromium.org>
Commit-Queue: Andrew Lamb <andrewlamb@chromium.org>
diff --git a/cbuildbot/goma_util.py b/cbuildbot/goma_util.py
index d03e4cf..30ee7ee 100644
--- a/cbuildbot/goma_util.py
+++ b/cbuildbot/goma_util.py
@@ -66,6 +66,11 @@
       # reduces a lot of I/O and calculation.
       # This is the base file name under GOMA_CACHE_DIR.
       'GOMA_DEPS_CACHE_FILE': 'goma.deps',
+
+      # Only run one command in parallel per core.
+      #
+      # TODO(crbug.com/998076): Increase if Goma fork issue is fixed.
+      'NINJA_CORE_MULTIPLIER': '1',
   }
 
   def __init__(self, goma_dir, goma_client_json, goma_tmp_dir=None,