File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -985,6 +985,11 @@ def main_preset():
985
985
"--distcc" ,
986
986
help = "use distcc" ,
987
987
action = arguments .action .optional_bool )
988
+ parser .add_argument (
989
+ "-j" , "--jobs" ,
990
+ help = "the number of parallel build jobs to use" ,
991
+ type = int ,
992
+ dest = "build_jobs" )
988
993
parser .add_argument (
989
994
"preset_substitutions_raw" ,
990
995
help = "'name=value' pairs that are substituted in the preset" ,
@@ -1028,6 +1033,8 @@ def main_preset():
1028
1033
build_script_args += preset_args
1029
1034
if args .distcc :
1030
1035
build_script_args += ["--distcc" ]
1036
+ if args .build_jobs :
1037
+ build_script_args += ["--jobs" , str (args .build_jobs )]
1031
1038
1032
1039
diagnostics .note (
1033
1040
"using preset '" + args .preset + "', which expands to \n \n " +
You can’t perform that action at this time.
0 commit comments