- Change logic a bit to make it easier for us
to deselect parts. This commit was SVN r21258.
Этот коммит содержится в:
родитель
cc7620c210
Коммит
98bdba786a
18
autogen.sh
18
autogen.sh
@ -1214,14 +1214,14 @@ echo "[Checking] command line parameters"
|
|||||||
|
|
||||||
want_local=no
|
want_local=no
|
||||||
ompidir=
|
ompidir=
|
||||||
no_ompi=0
|
want_ompi=1
|
||||||
no_orte=0
|
want_orte=1
|
||||||
for arg in $*; do
|
for arg in $*; do
|
||||||
case $arg in
|
case $arg in
|
||||||
-l) want_local=yes ;;
|
-l) want_local=yes ;;
|
||||||
-ompidir|--ompidir|-ompi|--ompi) ompidir="$2" ;;
|
-ompidir|--ompidir|-ompi|--ompi) ompidir="$2" ;;
|
||||||
-no-ompi) no_ompi=1 ;;
|
-no-ompi) want_ompi=0 ;;
|
||||||
-no-orte) no_orte=1 ;;
|
-no-orte) want_orte=0 ;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
@ -1247,12 +1247,12 @@ fi
|
|||||||
# top-level directory, or somewhere else.
|
# top-level directory, or somewhere else.
|
||||||
if test -f VERSION -a -f configure.ac -a -f $topdir_file ; then
|
if test -f VERSION -a -f configure.ac -a -f $topdir_file ; then
|
||||||
# locations to look for mca modules
|
# locations to look for mca modules
|
||||||
config_project_list="opal orte ompi"
|
config_project_list="opal"
|
||||||
if test "$no_ompi" = "1" ; then
|
if test "$want_orte" = "1" ; then
|
||||||
config_project_list="opal orte"
|
config_project_list="$config_project_list orte"
|
||||||
fi
|
fi
|
||||||
if test "$no_orte" = "1" ; then
|
if test "$want_ompi" = "1" ; then
|
||||||
config_project_list="opal"
|
config_project_list="$config_project_list ompi"
|
||||||
fi
|
fi
|
||||||
echo "Configuring projects: $config_project_list"
|
echo "Configuring projects: $config_project_list"
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user