Given our current list of options, it makes no sense to "bundle" them - they are pretty exclusionary. Turning off bundling allows us to support both single- and double-dash options, which means we don't break scripts that previously worked with autogen.sh
This commit was SVN r23814.
Этот коммит содержится в:
родитель
e8868c38fb
Коммит
19f9fc1146
27
autogen.pl
27
autogen.pl
@ -778,7 +778,6 @@ sub safe_system {
|
|||||||
|
|
||||||
# Command line parameters
|
# Command line parameters
|
||||||
|
|
||||||
&Getopt::Long::Configure("bundling");
|
|
||||||
my $ok = Getopt::Long::GetOptions("no-ompi" => \$no_ompi_arg,
|
my $ok = Getopt::Long::GetOptions("no-ompi" => \$no_ompi_arg,
|
||||||
"no-orte" => \$no_orte_arg,
|
"no-orte" => \$no_orte_arg,
|
||||||
"quiet|q" => \$quiet_arg,
|
"quiet|q" => \$quiet_arg,
|
||||||
@ -793,19 +792,19 @@ if (!$ok || $help_arg) {
|
|||||||
print "Invalid command line argument.\n\n"
|
print "Invalid command line argument.\n\n"
|
||||||
if (!$ok);
|
if (!$ok);
|
||||||
print "Options:
|
print "Options:
|
||||||
--no-ompi Do not build the Open MPI layer
|
--no-ompi | -no-ompi Do not build the Open MPI layer
|
||||||
--no-orte Do not build the ORTE layer
|
--no-orte | -no-orte Do not build the ORTE layer
|
||||||
--quiet | -q Do not display normal verbose output
|
--quiet | -q Do not display normal verbose output
|
||||||
--debug | -d Output lots of debug information
|
--debug | -d Output lots of debug information
|
||||||
--help | -h This help list
|
--help | -h This help list
|
||||||
--platform | -p Specify a platform file to be parsed for no_build
|
--platform | -p Specify a platform file to be parsed for no_build
|
||||||
and only_build directives
|
and only_build directives
|
||||||
--include | -i Comma-separated list of framework-component pairs
|
--include | -i Comma-separated list of framework-component pairs
|
||||||
to be exclusively built - i.e., all other components
|
to be exclusively built - i.e., all other components
|
||||||
will be ignored and only those specified will be marked
|
will be ignored and only those specified will be marked
|
||||||
to build
|
to build
|
||||||
--exclude | -e Comma-separated list of framework or framework-component
|
--exclude | -e Comma-separated list of framework or framework-component
|
||||||
to be excluded from the build\n";
|
to be excluded from the build\n";
|
||||||
exit($ok ? 0 : 1);
|
exit($ok ? 0 : 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user