diff options
author | Craig Tiller <ctiller@google.com> | 2015-10-07 15:07:20 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-10-07 15:07:20 -0700 |
commit | 854dca5c3f5d50f372a45e5050a46c80b7223baa (patch) | |
tree | d70d2269ba0ded7f393d4d2b3004f5ffeda98104 /tools/run_tests/run_tests.py | |
parent | 504cc5e3d06aee004f1f09b81776d52a37e6e67b (diff) | |
parent | 47eeb2b28c8c6b7aa7551381cf80ef0c28541775 (diff) |
Merge pull request #3709 from jtattermusch/win_jenkins_adjustments
Reduce parallelism for windows build
Diffstat (limited to 'tools/run_tests/run_tests.py')
-rwxr-xr-x | tools/run_tests/run_tests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index 122102ea05..eadf09f192 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -584,7 +584,9 @@ if platform.system() == 'Windows': def make_jobspec(cfg, targets, makefile='Makefile'): extra_args = [] # better do parallel compilation - extra_args.extend(["/m"]) + # empirically /m:2 gives the best performance/price and should prevent + # overloading the windows workers. + extra_args.extend(["/m:2"]) # disable PDB generation: it's broken, and we don't need it during CI extra_args.extend(["/p:Jenkins=true"]) return [ |