* allow orte or opal trees to be built without building the ompi or ompi and
orte trees (respectively). Next step towards splitting the projects. This commit was SVN r6863.
Этот коммит содержится в:
родитель
51531af9df
Коммит
c0b5129df9
@ -16,7 +16,7 @@
|
||||
|
||||
include $(top_srcdir)/config/Makefile.options
|
||||
|
||||
SUBDIRS = config include etc opal orte ompi test
|
||||
SUBDIRS = config include etc $(MCA_PROJECT_SUBDIRS) test
|
||||
EXTRA_DIST = README INSTALL VERSION Doxyfile LICENSE
|
||||
|
||||
dist-hook:
|
||||
|
23
autogen.sh
23
autogen.sh
@ -60,9 +60,6 @@ mca_m4_include_file="mca_m4_config_include.m4"
|
||||
mca_m4_config_env_file="mca_m4_config_env"
|
||||
autogen_subdir_file="autogen.subdirs"
|
||||
|
||||
# locations to look for mca modules
|
||||
mca_locations="opal orte ompi"
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Version check - does major,minor,release check (hopefully ignoring
|
||||
@ -836,7 +833,7 @@ EOF
|
||||
rg_cwd="`pwd`"
|
||||
echo $rg_cwd
|
||||
project_list=""
|
||||
for project_path in $mca_locations; do
|
||||
for project_path in $config_project_list; do
|
||||
project="`basename \"$project_path\"`"
|
||||
project_list="$project_list $project"
|
||||
|
||||
@ -973,12 +970,17 @@ echo "[Checking] command line parameters"
|
||||
|
||||
want_local=no
|
||||
ompidir=
|
||||
no_ompi=0
|
||||
no_orte=0
|
||||
for arg in $*; do
|
||||
case $arg in
|
||||
-l) want_local=yes ;;
|
||||
-ompidir|--ompidir|-ompi|--ompi) ompidir="$1" ;;
|
||||
-ompidir|--ompidir|-ompi|--ompi) ompidir="$2" ;;
|
||||
-no-ompi) no_ompi=1 ;;
|
||||
-no-orte) no_orte=1 ;;
|
||||
*) ;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
# announce
|
||||
@ -996,6 +998,17 @@ EOF
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
|
||||
# locations to look for mca modules
|
||||
config_project_list="opal orte ompi"
|
||||
if test "$no_ompi" = "1" ; then
|
||||
config_project_list="opal orte"
|
||||
fi
|
||||
if test "$no_orte" = "1" ; then
|
||||
config_project_list="opal"
|
||||
fi
|
||||
echo "Configuring projects: $config_project_list"
|
||||
|
||||
# figure out if we're at the top level of the OMPI tree, a component's
|
||||
# top-level directory, or somewhere else.
|
||||
if test -f VERSION -a -f configure.ac -a -f include/mpi.h ; then
|
||||
|
@ -200,8 +200,10 @@ AC_DEFUN([OMPI_MCA],[
|
||||
|
||||
# now configre all the projects, frameworks, and components. Most
|
||||
# of the hard stuff is in here
|
||||
MCA_PROJECT_SUBDIRS=
|
||||
m4_foreach(mca_project, [mca_project_list],
|
||||
[MCA_CONFIGURE_PROJECT(mca_project)])
|
||||
[MCA_PROJECT_SUBDIRS="$MCA_PROJECT_SUBDIRS mca_project"
|
||||
MCA_CONFIGURE_PROJECT(mca_project)])
|
||||
|
||||
# BWB - fix me... need to automate this somehow
|
||||
MCA_SETUP_DIRECT_CALL(pml, ompi)
|
||||
@ -209,6 +211,8 @@ AC_DEFUN([OMPI_MCA],[
|
||||
# make all the config output statements for the no configure
|
||||
# components
|
||||
MCA_NO_CONFIG_CONFIG_FILES()
|
||||
|
||||
AC_SUBST(MCA_PROJECT_SUBDIRS)
|
||||
])
|
||||
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user