reduce parallelism for windows build

pull/3709/head
Jan Tattermusch 9 years ago
parent 7329b94808
commit 47eeb2b28c
  1. 4
      tools/run_tests/run_tests.py

@ -624,7 +624,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