Treat the --no-ompi case exactly the same as if the ompi/ directory is
not there (e.g., for invoking autogen on tarballs without the ompi/ directory). Ditto for --no-orte / missing orte/ directory. This commit was SVN r24420.
Этот коммит содержится в:
родитель
e5eef80364
Коммит
3933d23367
16
autogen.pl
16
autogen.pl
@ -926,17 +926,23 @@ if (!$ok || $help_arg) {
|
|||||||
# Check for project existence
|
# Check for project existence
|
||||||
my $project_name_long = "Open MPI";
|
my $project_name_long = "Open MPI";
|
||||||
my $project_name_short = "openmpi";
|
my $project_name_short = "openmpi";
|
||||||
|
|
||||||
if (! -e "ompi") {
|
if (! -e "ompi") {
|
||||||
$no_ompi_arg=1;
|
$no_ompi_arg = 1;
|
||||||
$project_name_long = "Open MPI Run Time Environment";
|
|
||||||
$project_name_short = "open-rte";
|
|
||||||
debug "No ompi subdirectory found - will not build MPI layer\n";
|
debug "No ompi subdirectory found - will not build MPI layer\n";
|
||||||
}
|
}
|
||||||
if (! -e "orte") {
|
if (! -e "orte") {
|
||||||
|
$no_orte_arg = 1;
|
||||||
|
debug "No orte subdirectory found - will not build ORTE\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($no_ompi_arg) {
|
||||||
|
$project_name_long = "Open MPI Run Time Environment";
|
||||||
|
$project_name_short = "open-rte";
|
||||||
|
}
|
||||||
|
if ($no_orte_arg) {
|
||||||
$project_name_long = "Open Portability Access Layer";
|
$project_name_long = "Open Portability Access Layer";
|
||||||
$project_name_short = "open-pal";
|
$project_name_short = "open-pal";
|
||||||
$no_orte_arg=1;
|
|
||||||
debug "No orte subdirectory found - will not build ORTE\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user