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 @@ -970,6 +970,11 @@ def main_preset():
970
970
"--distcc" ,
971
971
help = "use distcc" ,
972
972
action = arguments .action .optional_bool )
973
+ parser .add_argument (
974
+ "-j" , "--jobs" ,
975
+ help = "the number of parallel build jobs to use" ,
976
+ type = int ,
977
+ dest = "build_jobs" )
973
978
parser .add_argument (
974
979
"preset_substitutions_raw" ,
975
980
help = "'name=value' pairs that are substituted in the preset" ,
@@ -1013,6 +1018,8 @@ def main_preset():
1013
1018
build_script_args += preset_args
1014
1019
if args .distcc :
1015
1020
build_script_args += ["--distcc" ]
1021
+ if args .build_jobs :
1022
+ build_script_args += ["--jobs" , str (args .build_jobs )]
1016
1023
1017
1024
diagnostics .note (
1018
1025
"using preset '" + args .preset + "', which expands to \n \n " +
You can’t perform that action at this time.
0 commit comments