Skip to content
Snippets Groups Projects
Commit 47eeb2b2 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

reduce parallelism for windows build

parent 7329b948
Branches
Tags
No related merge requests found
...@@ -624,7 +624,9 @@ if platform.system() == 'Windows': ...@@ -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 [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment