From c7d64cb90d318eae12382c2c25bceca3cae02dc9 Mon Sep 17 00:00:00 2001 From: Andreas Herrmann Date: Wed, 6 Nov 2019 11:43:39 +0100 Subject: [PATCH] --jobs=4 --- .bazelrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bazelrc b/.bazelrc index 6aedfd378291..24c4a69d78df 100644 --- a/.bazelrc +++ b/.bazelrc @@ -86,6 +86,11 @@ build:windows --noremote_accept_cached # problem on CI if all builds share a similar directory structure. build:windows-ci --remote_accept_cached=false +# The Windows CI machines have 4 physical and 8 logical cores. By default Bazel +# will parallelize up to the number of logical cores. This can cause flakyness +# in timing sensitive tests. +build:windows-ci --jobs=4 + # Instruct bazel to globally use this flag for compiling protobuf files. # We need the source info for generating proto docs. By default proto_library strips # source information and doesn't provide an option to turn this flag on.