File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 56
56
my $include_arg = 0;
57
57
my $exclude_arg = 0;
58
58
my $force_arg = 0;
59
+ my $automake_jobs ;
59
60
60
61
# Include/exclude lists
61
62
my $include_list ;
@@ -1131,6 +1132,7 @@ sub in_tarball {
1131
1132
" include=s" => \$include_arg ,
1132
1133
" exclude=s" => \$exclude_arg ,
1133
1134
" force|f" => \$force_arg ,
1135
+ " jobs|j=i" => \$automake_jobs ,
1134
1136
);
1135
1137
1136
1138
if (!$ok || $help_arg ) {
@@ -1153,7 +1155,8 @@ sub in_tarball {
1153
1155
--exclude | -e Comma-separated list of framework or framework-component
1154
1156
to be excluded from the build
1155
1157
--force | -f Run even if invoked from the source tree of an expanded
1156
- distribution tarball\n " ;
1158
+ distribution tarball
1159
+ --jobs | -j # Value to set for AUTOMAKE_JOBS\n " ;
1157
1160
my_exit($ok ? 0 : 1);
1158
1161
}
1159
1162
@@ -1185,6 +1188,13 @@ sub in_tarball {
1185
1188
$project_name_short = " open-pal" ;
1186
1189
}
1187
1190
1191
+ my_die " Invalid value for --jobs $automake_jobs . Must be greater than 0."
1192
+ if (defined $automake_jobs && $automake_jobs <= 0);
1193
+
1194
+ if (defined $automake_jobs ) {
1195
+ $ENV {' AUTOMAKE_JOBS' } = $automake_jobs ;
1196
+ }
1197
+
1188
1198
# ---------------------------------------------------------------------------
1189
1199
1190
1200
$m4 = " dnl
You can’t perform that action at this time.
0 commit comments