Merge pull request #3709 from jtattermusch/win_jenkins_adjustments

Reduce parallelism for windows build
pull/3547/head
Craig Tiller 9 years ago
commit 854dca5c3f
  1. 4
      tools/run_tests/run_tests.py

@ -584,7 +584,9 @@ if platform.system() == 'Windows':
def make_jobspec(cfg, targets, makefile='Makefile'): def make_jobspec(cfg, targets, makefile='Makefile'):
extra_args = [] extra_args = []
# better do parallel compilation # 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 # disable PDB generation: it's broken, and we don't need it during CI
extra_args.extend(["/p:Jenkins=true"]) extra_args.extend(["/p:Jenkins=true"])
return [ return [

Loading…
Cancel
Save