1
1

Building MCA components as DSOs is now the default. Use

--disable-mca-dso to build MCA components statically as part of
libmpi, or --enable-mca-dso=LIST to only build some components as DSOs
(see ./configure --help for more details).

This commit was SVN r1521.
Этот коммит содержится в:
Jeff Squyres 2004-06-30 22:11:32 +00:00
родитель f9323ee2ca
Коммит 97bed7c0d4
29 изменённых файлов: 256 добавлений и 277 удалений

Просмотреть файл

@ -541,8 +541,8 @@ AC_DEFINE_UNQUOTED(MCA_${pd_module_type}_${pd_module_name}_FULL_VERSION,
EOF
cat >> $pd_amc_file <<EOF
AM_CONDITIONAL(OMPI_BUILD_${pd_module_type}_${pd_module_name}_LOADABLE_MODULE,
test "\$BUILD_${pd_module_type}_${pd_module_name}_LOADABLE_MODULE" = "1")
AM_CONDITIONAL(OMPI_BUILD_${pd_module_type}_${pd_module_name}_DSO,
test "\$BUILD_${pd_module_type}_${pd_module_name}_DSO" = "1")
EOF

Просмотреть файл

@ -117,6 +117,7 @@ AC_MSG_RESULT([$result])
# Check and see if the user wants this module built as a run-time
# loadable module. Acceptable combinations:
#
# [default -- no option]
# --with-modules
# --with-modules=[.+,]*MODULE_TYPE[.+,]*
# --with-modules=[.+,]*MODULE_TYPE-MODULE_NAME[.+,]*
@ -169,8 +170,8 @@ unset msg
# Part one of libtool magic
#
AM_ENABLE_STATIC
AM_DISABLE_SHARED
AM_ENABLE_SHARED
AM_DISABLE_STATIC
#
@ -231,7 +232,7 @@ AC_SUBST(CPPFLAGS)
ompi_show_subtitle "GNU libtool setup"
AM_PROG_LIBTOOL
AM_CONDITIONAL(OMPI_BUILD_@MCA_TYPE@_@MCA_MODULE_NAME@_LOADABLE_MODULE,
AM_CONDITIONAL(OMPI_BUILD_@MCA_TYPE@_@MCA_MODULE_NAME@_DSO,
test "$BUILD_@MCA_TYPE@_@MCA_MODULE_NAME@_LOADABLE_MODULE" = "1")

Просмотреть файл

@ -8,32 +8,33 @@ AC_DEFUN([OMPI_MCA],[
# Find which modules should be built as run-time loadable modules
# Acceptable combinations:
#
# --with-modules
# --with-modules=[.+,]*MODULE_TYPE[.+,]*
# --with-modules=[.+,]*MODULE_TYPE-MODULE_NAME[.+,]*
# --without-modules
# [default -- no option given]
# --enable-mca-dso
# --enable-mca-dso=[.+,]*COMPONENT_TYPE[.+,]*
# --enable-mca-dso=[.+,]*COMPONENT_TYPE-COMPONENT_NAME[.+,]*
# --disable-mca-dso
#
AC_MSG_CHECKING([which modules should be run-time loadable])
AC_ARG_WITH(modules,
AC_HELP_STRING([--with-modules=LIST],
[comma-separated list of types and/or type-module pairs of modules that will be built as run-time loadable modules (as opposed to statically linked in OMPI/MPI (if supported on this platform). This directly implies "--enable-shared=LIST and --disable-static=LIST".]))
AC_ARG_ENABLE(mca-dso,
AC_HELP_STRING([--enable-mca-dso=LIST],
[comma-separated list of types and/or type-component pairs that will be built as run-time loadable modules (as opposed to statically linked in), if supported on this platform. The default is to build all components as DSOs; the --disable-mca-dso[=LIST] form can be used to disable building all or some types/components as DSOs]))
if test "$with_modules" = "" -o "$with_modules" = "no"; then
LOADABLE_MODULE_all=0
msg=none
elif test "$with_modules" = "yes"; then
LOADABLE_MODULE_all=1
if test -z "$enable_mca_dso" -o "$enable_mca_dso" = "yes"; then
DSO_all=1
msg=all
elif test "$with_modules" = "no"; then
DSO_all=0
msg=none
else
LOADABLE_MODULE_all=0
DSO_all=0
ifs_save="$IFS"
IFS="${IFS}$PATH_SEPARATOR,"
msg=
for module in $with_modules; do
str="`echo LOADABLE_MODULE_$module=1 | sed s/-/_/g`"
for item in $enable_mca_dso; do
str="`echo DSO_$item=1 | sed s/-/_/g`"
eval $str
msg="$module $msg"
msg="$item $msg"
done
IFS="$ifs_save"
fi
@ -43,7 +44,7 @@ unset msg
# The list of MCA types (it's fixed)
AC_MSG_CHECKING([for MCA types])
found_types="allocator coll common io gpr mpool oob one pcm pml ptl topo"
found_types="allocator coll common gpr io mpool ns one oob op pcm pml ptl topo"
AC_MSG_RESULT([$found_types])
# Get the list of all the non-configure MCA modules that were found by
@ -53,15 +54,16 @@ AC_MSG_RESULT([$found_types])
MCA_FIND_NO_CONFIGURE_MODULES
# Now determine the configurable modules in each of the types. This
# is a little redundant and could be combined into the loop above, but
# we separate it out for clarity. The extern statements and array of
# pointers to the module global structs are written to a file for each
# type that is #include'd in the flue file for each type.
# is a little redundant and could be combined into
# MCA_FIND_NO_CONFIGURE_MODULES, but we separate it out for clarity.
# The extern statements and array of pointers to the module global
# structs are written to a file for each type that is #include'd in
# the file for each type.
for type in $found_types; do
all_modules=
static_modules=
dynamic_modules=
dso_modules=
static_ltlibs=
# Ensure that the directory where the #include file is to live
@ -80,7 +82,7 @@ for type in $found_types; do
# Also ensure that the dynamic-mca base directory exists
total_dir="."
dyndir=src/mca/dynamic/$type
dyndir=src/dynamic-mca/$type
for dir_part in `IFS='/\\'; set X $dyndir; shift; echo "$[@]"`; do
total_dir=$total_dir/$dir_part
test -d "$total_dir" ||
@ -94,7 +96,7 @@ for type in $found_types; do
rm -f $outfile $outfile.struct $outfile.extern \
$outfile.all $outfile.static $outfile.dyanmic
touch $outfile.struct $outfile.extern \
$outfile.all $outfile.static $outfile.dynamic
$outfile.all $outfile.static $outfile.dso
# Manual conversion of $type to its generic name (e.g., crmpi->cr,
# crompi->cr).
@ -125,7 +127,7 @@ for type in $found_types; do
# Remove any possible sym link in the mca-dynamic tree
rm -f src/mca/dyanmic/$type/$m
rm -f src/dynamic-mca/$type/$m
# Now process the module
@ -139,12 +141,12 @@ for type in $found_types; do
# generated the AM_CONDITIONAL directly. Here, we fill in
# the variable that is used in that AM_CONDITIONAL.
if test "$compile_mode" = "dynamic"; then
if test "$compile_mode" = "dso"; then
value=1
else
value=0
fi
foo="BUILD_${type}_${m}_LOADABLE_MODULE=$value"
foo="BUILD_${type}_${m}_DSO=$value"
eval $foo
fi
done
@ -166,7 +168,7 @@ for type in $found_types; do
# Remove any possible sym link in the mca-dynamic tree
rm -f src/mca/dyanmic/$type/$m
rm -f src/dyanmic-mca/$type/$m
# Configure the module subdirectory
@ -187,9 +189,9 @@ for type in $found_types; do
all_modules="`echo $all_modules`"
static_modules="`sort $outfile.static`"
static_modules="`echo $static_modules`"
dynamic_modules="`sort $outfile.dynamic`"
dynamic_modules="`echo $dynamic_modules`"
rm -f $outfile $outfile.all $outfile.static $outfile.dynamic
dso_modules="`sort $outfile.dso`"
dso_modules="`echo $dso_modules`"
rm -f $outfile $outfile.all $outfile.static $outfile.dso
# Create the final .h file that will be included in the type's
# top-level glue. This lists all the static modules.
@ -216,13 +218,13 @@ EOF
eval "$foo"
foo="MCA_${type}_STATIC_SUBDIRS"'="$static_modules"'
eval "$foo"
foo="MCA_${type}_DYNAMIC_SUBDIRS"'="$dynamic_modules"'
foo="MCA_${type}_DSO_SUBDIRS"'="$dso_modules"'
eval "$foo"
foo="MCA_${type}_STATIC_LTLIBS"'="$static_ltlibs"'
eval "$foo"
done
unset foo type m modules structs outfile outdir total_dir file \
all_modules static_modules dynamic_modules static_ltlibs
all_modules static_modules dso_modules static_ltlibs
# Grumble. It seems that AC_SUBST and AC_DEFINE don't let you
# substitue on a variable name that contains a variable (e.g.,
@ -232,66 +234,66 @@ unset foo type m modules structs outfile outdir total_dir file \
AC_SUBST(MCA_common_ALL_SUBDIRS)
AC_SUBST(MCA_common_STATIC_SUBDIRS)
AC_SUBST(MCA_common_DYNAMIC_SUBDIRS)
AC_SUBST(MCA_common_DSO_SUBDIRS)
AC_SUBST(MCA_common_STATIC_LTLIBS)
# OMPI types
AC_SUBST(MCA_oob_ALL_SUBDIRS)
AC_SUBST(MCA_oob_STATIC_SUBDIRS)
AC_SUBST(MCA_oob_DYNAMIC_SUBDIRS)
AC_SUBST(MCA_oob_DSO_SUBDIRS)
AC_SUBST(MCA_oob_STATIC_LTLIBS)
AC_SUBST(MCA_pcm_ALL_SUBDIRS)
AC_SUBST(MCA_pcm_STATIC_SUBDIRS)
AC_SUBST(MCA_pcm_DYNAMIC_SUBDIRS)
AC_SUBST(MCA_pcm_DSO_SUBDIRS)
AC_SUBST(MCA_pcm_STATIC_LTLIBS)
AC_SUBST(MCA_gpr_ALL_SUBDIRS)
AC_SUBST(MCA_gpr_STATIC_SUBDIRS)
AC_SUBST(MCA_gpr_DYNAMIC_SUBDIRS)
AC_SUBST(MCA_gpr_DSO_SUBDIRS)
AC_SUBST(MCA_gpr_STATIC_LTLIBS)
# MPI types
AC_SUBST(MCA_allocator_ALL_SUBDIRS)
AC_SUBST(MCA_allocator_STATIC_SUBDIRS)
AC_SUBST(MCA_allocator_DYNAMIC_SUBDIRS)
AC_SUBST(MCA_allocator_DSO_SUBDIRS)
AC_SUBST(MCA_allocator_STATIC_LTLIBS)
AC_SUBST(MCA_coll_ALL_SUBDIRS)
AC_SUBST(MCA_coll_STATIC_SUBDIRS)
AC_SUBST(MCA_coll_DYNAMIC_SUBDIRS)
AC_SUBST(MCA_coll_DSO_SUBDIRS)
AC_SUBST(MCA_coll_STATIC_LTLIBS)
AC_SUBST(MCA_io_ALL_SUBDIRS)
AC_SUBST(MCA_io_STATIC_SUBDIRS)
AC_SUBST(MCA_io_DYNAMIC_SUBDIRS)
AC_SUBST(MCA_io_DSO_SUBDIRS)
AC_SUBST(MCA_io_STATIC_LTLIBS)
AC_SUBST(MCA_mpool_ALL_SUBDIRS)
AC_SUBST(MCA_mpool_STATIC_SUBDIRS)
AC_SUBST(MCA_mpool_DYNAMIC_SUBDIRS)
AC_SUBST(MCA_mpool_DSO_SUBDIRS)
AC_SUBST(MCA_mpool_STATIC_LTLIBS)
AC_SUBST(MCA_one_ALL_SUBDIRS)
AC_SUBST(MCA_one_STATIC_SUBDIRS)
AC_SUBST(MCA_one_DYNAMIC_SUBDIRS)
AC_SUBST(MCA_one_DSO_SUBDIRS)
AC_SUBST(MCA_one_STATIC_LTLIBS)
AC_SUBST(MCA_pml_ALL_SUBDIRS)
AC_SUBST(MCA_pml_STATIC_SUBDIRS)
AC_SUBST(MCA_pml_DYNAMIC_SUBDIRS)
AC_SUBST(MCA_pml_DSO_SUBDIRS)
AC_SUBST(MCA_pml_STATIC_LTLIBS)
AC_SUBST(MCA_ptl_ALL_SUBDIRS)
AC_SUBST(MCA_ptl_STATIC_SUBDIRS)
AC_SUBST(MCA_ptl_DYNAMIC_SUBDIRS)
AC_SUBST(MCA_ptl_DSO_SUBDIRS)
AC_SUBST(MCA_ptl_STATIC_LTLIBS)
AC_SUBST(MCA_topo_ALL_SUBDIRS)
AC_SUBST(MCA_topo_STATIC_SUBDIRS)
AC_SUBST(MCA_topo_DYNAMIC_SUBDIRS)
AC_SUBST(MCA_topo_DSO_SUBDIRS)
AC_SUBST(MCA_topo_STATIC_LTLIBS)
# Finally, now that we've filled in all the test variables, get all
@ -327,24 +329,24 @@ if test "$HAPPY" = "1"; then
# Is this module going to built staic or shared?
str="SHARED_TYPE=\$LOADABLE_MODULE_$type"
str="SHARED_TYPE=\$DSO_$type"
eval $str
str="SHARED_GENERIC_TYPE=\$LOADABLE_MODULE_$generic_type"
str="SHARED_GENERIC_TYPE=\$DSO_$generic_type"
eval $str
str="SHARED_MODULE=\$LOADABLE_MODULE_${type}_$m"
str="SHARED_MODULE=\$DSO_${type}_$m"
eval $str
shared_mode_override=static
# Setup for either shared or static
if test "$shared_mode_override" = "dynamic" -o \
if test "$shared_mode_override" = "dso" -o \
"$SHARED_TYPE" = "1" -o \
"$SHARED_GENERIC_TYPE" = "1" -o \
"$SHARED_MODULE" = "1" -o \
"$LOADABLE_MODULE_all" = "1"; then
compile_mode="dynamic"
echo $m >> $outfile.dynamic
"$DSO_all" = "1"; then
compile_mode="dso"
echo $m >> $outfile.dso
rm -f "src/dynamic-mca/$type/$m"
$LN_S "$OMPI_TOP_BUILDDIR/src/mca/$type/$m" \
"src/dynamic-mca/$type/$m"

Просмотреть файл

@ -4,7 +4,7 @@
include $(top_srcdir)/config/Makefile.options
SUBDIRS = $(MCA_allocator_DYNAMIC_SUBDIRS)
SUBDIRS = $(MCA_allocator_DSO_SUBDIRS)
DISTCLEANFILES = $(SUBDIRS)
# Every directory under here is a sym link to something in the main

Просмотреть файл

@ -4,7 +4,7 @@
include $(top_srcdir)/config/Makefile.options
SUBDIRS = $(MCA_coll_DYNAMIC_SUBDIRS)
SUBDIRS = $(MCA_coll_DSO_SUBDIRS)
DISTCLEANFILES = $(SUBDIRS)
# Every directory under here is a sym link to something in the main

Просмотреть файл

@ -4,7 +4,7 @@
include $(top_srcdir)/config/Makefile.options
SUBDIRS = $(MCA_common_DYNAMIC_SUBDIRS)
SUBDIRS = $(MCA_common_DSO_SUBDIRS)
DISTCLEANFILES = $(SUBDIRS)
# Every directory under here is a sym link to something in the main

Просмотреть файл

@ -4,7 +4,7 @@
include $(top_srcdir)/config/Makefile.options
SUBDIRS = $(MCA_gpr_DYNAMIC_SUBDIRS)
SUBDIRS = $(MCA_gpr_DSO_SUBDIRS)
DISTCLEANFILES = $(SUBDIRS)
# Every directory under here is a sym link to something in the main

Просмотреть файл

@ -4,7 +4,7 @@
include $(top_srcdir)/config/Makefile.options
SUBDIRS = $(MCA_io_DYNAMIC_SUBDIRS)
SUBDIRS = $(MCA_io_DSO_SUBDIRS)
DISTCLEANFILES = $(SUBDIRS)
# Every directory under here is a sym link to something in the main

Просмотреть файл

@ -4,7 +4,7 @@
include $(top_srcdir)/config/Makefile.options
SUBDIRS = $(MCA_mpool_DYNAMIC_SUBDIRS)
SUBDIRS = $(MCA_mpool_DSO_SUBDIRS)
DISTCLEANFILES = $(SUBDIRS)
# Every directory under here is a sym link to something in the main

Просмотреть файл

@ -4,7 +4,7 @@
include $(top_srcdir)/config/Makefile.options
SUBDIRS = $(MCA_one_DYNAMIC_SUBDIRS)
SUBDIRS = $(MCA_one_DSO_SUBDIRS)
DISTCLEANFILES = $(SUBDIRS)
# Every directory under here is a sym link to something in the main

Просмотреть файл

@ -4,7 +4,7 @@
include $(top_srcdir)/config/Makefile.options
SUBDIRS = $(MCA_oob_DYNAMIC_SUBDIRS)
SUBDIRS = $(MCA_oob_DSO_SUBDIRS)
DISTCLEANFILES = $(SUBDIRS)
# Every directory under here is a sym link to something in the main

Просмотреть файл

@ -4,7 +4,7 @@
include $(top_srcdir)/config/Makefile.options
SUBDIRS = $(MCA_pcm_DYNAMIC_SUBDIRS)
SUBDIRS = $(MCA_pcm_DSO_SUBDIRS)
DISTCLEANFILES = $(SUBDIRS)
# Every directory under here is a sym link to something in the main

Просмотреть файл

@ -4,7 +4,7 @@
include $(top_srcdir)/config/Makefile.options
SUBDIRS = $(MCA_pml_DYNAMIC_SUBDIRS)
SUBDIRS = $(MCA_pml_DSO_SUBDIRS)
DISTCLEANFILES = $(SUBDIRS)
# Every directory under here is a sym link to something in the main

Просмотреть файл

@ -4,7 +4,7 @@
include $(top_srcdir)/config/Makefile.options
SUBDIRS = $(MCA_ptl_DYNAMIC_SUBDIRS)
SUBDIRS = $(MCA_ptl_DSO_SUBDIRS)
DISTCLEANFILES = $(SUBDIRS)
# Every directory under here is a sym link to something in the main

Просмотреть файл

@ -4,7 +4,7 @@
include $(top_srcdir)/config/Makefile.options
SUBDIRS = $(MCA_topo_DYNAMIC_SUBDIRS)
SUBDIRS = $(MCA_topo_DSO_SUBDIRS)
DISTCLEANFILES = $(SUBDIRS)
# Every directory under here is a sym link to something in the main

Просмотреть файл

@ -1,8 +1,9 @@
# -*- makefile -*-
#
# $HEADER$
#
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
sources = \
@ -10,21 +11,25 @@ sources = \
allocator_bucket_alloc.c \
allocator_bucket_alloc.h
if OMPI_BUILD_allocator_bucket_LOADABLE_MODULE
module_noinst =
module_install = mca_allocator_bucket.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_allocator_bucket_DSO
component_noinst =
component_install = mca_allocator_bucket.la
else
module_noinst = libmca_allocator_bucket.la
module_install =
component_noinst = libmca_allocator_bucket.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_allocator_bucket_la_SOURCES = $(sources)
mca_allocator_bucket_la_LIBADD = $(LIBOMPI_LA)
mca_allocator_bucket_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_allocator_bucket_la_SOURCES = $(sources)
libmca_allocator_bucket_la_LDFLAGS = -module -avoid-version

Просмотреть файл

@ -1,9 +1,8 @@
# -*- makefile -*-
#
# $HEADER$
#
# Use the top-level OMPI Makefile.options
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
@ -11,27 +10,25 @@ SUBDIRS = src
EXTRA_DIST = VERSION
# According to the MCA spec, we have to make the output library here
# in the top-level directory, and it has to be named
# libompi_ssi_coll_ompi_basic.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_coll_basic_LOADABLE_MODULE
module_noinst =
module_install = mca_coll_basic.la
if OMPI_BUILD_coll_basic_DSO
component_noinst =
component_install = mca_coll_basic.la
else
module_noinst = libmca_coll_basic.la
module_install =
component_noinst = libmca_coll_basic.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_coll_basic_la_SOURCES =
mca_coll_basic_la_LIBADD = \
src/libmca_coll_basic.la \
$(LIBMPI_LA)
mca_coll_basic_la_LIBADD = src/libmca_coll_basic.la $(LIBMPI_LA)
mca_coll_basic_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_coll_basic_la_SOURCES =
libmca_coll_basic_la_LIBADD = src/libmca_coll_basic.la
libmca_coll_basic_la_LDFLAGS = -module -avoid-version

Просмотреть файл

@ -2,7 +2,7 @@
# $HEADER$
#
# Use the top-level OMPI Makefile.options
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
@ -10,27 +10,25 @@ SUBDIRS = src
EXTRA_DIST = VERSION
# According to the MCA spec, we have to make the output library here
# in the top-level directory, and it has to be named
# libompi_ssi_coll_ompi_basic.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_io_romio_LOADABLE_MODULE
module_noinst =
module_install = mca_io_romio.la
if OMPI_BUILD_io_romio_DSO
component_noinst =
component_install = mca_io_romio.la
else
module_noinst = libmca_mpi_io_romio.la
module_install =
component_noinst = libmca_mpi_io_romio.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_io_romio_la_SOURCES =
mca_io_romio_la_LIBADD = \
src/libmca_io_romio.la \
$(LIBOMPI_LA)
mca_io_romio_la_LIBADD = src/libmca_io_romio.la $(LIBOMPI_LA)
mca_io_romio_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_mpi_io_romio_la_SOURCES =
libmca_mpi_io_romio_la_LIBADD = src/libmca_io_romio.la
libmca_mpi_io_romio_la_LDFLAGS = -module -avoid-version

Просмотреть файл

@ -1,8 +1,9 @@
# -*- makefile -*-
#
# $HEADER$
#
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
sources = \
@ -12,20 +13,24 @@ sources = \
mpool_sm_mmap.h \
mpool_sm_component.c
if OMPI_BUILD_mpool_sm_LOADABLE_MODULE
module_noinst =
module_install = mca_mpool_sm.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_mpool_sm_DSO
component_noinst =
component_install = mca_mpool_sm.la
else
module_noinst = libmca_mpool_sm.la
module_install =
component_noinst = libmca_mpool_sm.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_mpool_sm_la_SOURCES = $(sources)
mca_mpool_sm_la_LIBADD = $(LIBOMPI_LA)
mca_mpool_sm_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_mpool_sm_la_SOURCES = $(sources)
libmca_mpool_sm_la_LDFLAGS = -module -avoid-version

Просмотреть файл

@ -1,9 +1,8 @@
# -*- makefile -*-
#
# $HEADER$
#
# Use the top-level OMPI Makefile.options
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
@ -11,27 +10,25 @@ SUBDIRS = src
EXTRA_DIST = VERSION
# According to the MCA spec, we have to make the output library here
# in the top-level directory, and it has to be named
# libompi_ssi_coll_ompi_basic.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_oob_cofs_LOADABLE_MODULE
module_noinst =
module_install = mca_oob_cofs.la
if OMPI_BUILD_oob_cofs_DSO
component_noinst =
component_install = mca_oob_cofs.la
else
module_noinst = libmca_oob_cofs.la
module_install =
component_noinst = libmca_oob_cofs.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_oob_cofs_la_SOURCES =
mca_oob_cofs_la_LIBADD = \
src/libmca_oob_cofs.la \
$(LIBOMPI_LA)
mca_oob_cofs_la_LIBADD = src/libmca_oob_cofs.la $(LIBOMPI_LA)
mca_oob_cofs_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_oob_cofs_la_SOURCES =
libmca_oob_cofs_la_LIBADD = src/libmca_oob_cofs.la
libmca_oob_cofs_la_LDFLAGS = -module -avoid-version

Просмотреть файл

@ -1,9 +1,8 @@
# -*- makefile -*-
#
# $HEADER$
#
# Use the top-level OMPI Makefile.options
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
@ -11,27 +10,25 @@ SUBDIRS = src
EXTRA_DIST = VERSION
# According to the MCA spec, we have to make the output library here
# in the top-level directory, and it has to be named
# libompi_ssi_coll_ompi_basic.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_pcm_cofs_LOADABLE_MODULE
module_noinst =
module_install = mca_pcm_cofs.la
if OMPI_BUILD_pcm_cofs_DSO
component_noinst =
component_install = mca_pcm_cofs.la
else
module_noinst = libmca_pcm_cofs.la
module_install =
component_noinst = libmca_pcm_cofs.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_pcm_cofs_la_SOURCES =
mca_pcm_cofs_la_LIBADD = \
src/libmca_pcm_cofs.la \
$(LIBOMPI_LA)
mca_pcm_cofs_la_LIBADD = src/libmca_pcm_cofs.la $(LIBOMPI_LA)
mca_pcm_cofs_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_pcm_cofs_la_SOURCES =
libmca_pcm_cofs_la_LIBADD = src/libmca_pcm_cofs.la
libmca_pcm_cofs_la_LDFLAGS = -module -avoid-version

Просмотреть файл

@ -1,9 +1,8 @@
# -*- makefile -*-
#
# $HEADER$
#
# Use the top-level OMPI Makefile.options
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
@ -11,27 +10,25 @@ SUBDIRS = src
EXTRA_DIST = VERSION
# According to the MCA spec, we have to make the output library here
# in the top-level directory, and it has to be named
# libompi_ssi_coll_ompi_basic.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_pcm_rsh_LOADABLE_MODULE
module_noinst =
module_install = mca_pcm_rsh.la
if OMPI_BUILD_pcm_rsh_DSO
component_noinst =
component_install = mca_pcm_rsh.la
else
module_noinst = libmca_pcm_rsh.la
module_install =
component_noinst = libmca_pcm_rsh.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_pcm_rsh_la_SOURCES =
mca_pcm_rsh_la_LIBADD = \
src/libmca_pcm_rsh.la \
$(LIBOMPI_LA)
mca_pcm_rsh_la_LIBADD = src/libmca_pcm_rsh.la $(LIBOMPI_LA)
mca_pcm_rsh_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_pcm_rsh_la_SOURCES =
libmca_pcm_rsh_la_LIBADD = src/libmca_pcm_rsh.la
libmca_pcm_rsh_la_LDFLAGS = -module -avoid-version

Просмотреть файл

@ -2,7 +2,7 @@
# $HEADER$
#
# Use the top-level OMPI Makefile.options
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
@ -10,27 +10,25 @@ SUBDIRS = src
EXTRA_DIST = VERSION
# According to the MCA spec, we have to make the output library here
# in the top-level directory, and it has to be named
# libompi_ssi_coll_ompi_basic.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_pml_teg_LOADABLE_MODULE
module_noinst =
module_install = mca_pml_teg.la
if OMPI_BUILD_pml_teg_DSO
component_noinst =
component_install = mca_pml_teg.la
else
module_noinst = libmca_pml_teg.la
module_install =
component_noinst = libmca_pml_teg.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_pml_teg_la_SOURCES =
mca_pml_teg_la_LIBADD = \
src/libmca_pml_teg.la \
$(LIBOMPI_LA)
mca_pml_teg_la_LIBADD = src/libmca_pml_teg.la $(LIBOMPI_LA)
mca_pml_teg_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_pml_teg_la_SOURCES =
libmca_pml_teg_la_LIBADD = src/libmca_pml_teg.la
libmca_pml_teg_la_LDFLAGS = -module -avoid-version

Просмотреть файл

@ -2,13 +2,10 @@
# $HEADER$
#
# Use the top-level OMPI Makefile.options
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
# JMS:
# CPPFLAGS including -I$(top_ompi_builddir)/src/include, etc
# does not seem to be passed down
AM_CPPFLAGS = -I$(top_ompi_builddir)/src/include \
-I$(top_ompi_srcdir)/src -I$(top_ompi_srcdir)/src/include \
-I/usr/lib/qsnet/elan4/include
@ -17,29 +14,25 @@ SUBDIRS = src
EXTRA_DIST = VERSION
# According to the MCA spec, we have to make the output library here
# in the top-level directory, and it has to be named
# libompi_ssi_coll_ompi_basic.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_ptl_elan_LOADABLE_MODULE
module_noinst =
module_install = mca_ptl_elan.la
if OMPI_BUILD_ptl_elan_DSO
component_noinst =
component_install = mca_ptl_elan.la
else
module_noinst = libmca_ptl_elan.la
module_install =
component_noinst = libmca_ptl_elan.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_ptl_elan_la_SOURCES =
mca_ptl_elan_la_LIBADD = \
src/libmca_ptl_elan.la \
$(LIBOMPI_LA)
mca_ptl_elan_la_LIBADD = src/libmca_ptl_elan.la $(LIBOMPI_LA)
mca_ptl_elan_la_LDFLAGS = -module -avoid-version
#-lelan -lelanctrl -lrms -lrmscall -lelan4
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_ptl_elan_la_SOURCES =
libmca_ptl_elan_la_LIBADD = src/libmca_ptl_elan.la
libmca_ptl_elan_la_LDFLAGS = -module -avoid-version
#-lelan -lelanctrl -lrms -lrmscall -lelan4

Просмотреть файл

@ -2,7 +2,7 @@
# $HEADER$
#
# Use the top-level OpenMPI Makefile.options
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
@ -10,27 +10,25 @@ SUBDIRS = src
EXTRA_DIST = VERSION
# According to the MCA spec, we have to make the output library here
# in the top-level directory, and it has to be named
# libompi_ssi_coll_ompi_basic.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_ptl_gm_LOADABLE_MODULE
module_noinst =
module_install = mca_ptl_gm.la
if OMPI_BUILD_ptl_gm_DSO
component_noinst =
component_install = mca_ptl_gm.la
else
module_noinst = libmca_ptl_gm.la
module_install =
component_noinst = libmca_ptl_gm.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_ptl_gm_la_SOURCES =
mca_ptl_gm_la_LIBADD = \
src/libmca_ptl_gm.la \
$(LIBOMPI_LA)
mca_ptl_gm_la_LIBADD = src/libmca_ptl_gm.la $(LIBOMPI_LA)
mca_ptl_gm_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_ptl_gm_la_SOURCES =
libmca_ptl_gm_la_LIBADD = src/libmca_ptl_gm.la
libmca_ptl_gm_la_LDFLAGS = -module -avoid-version

Просмотреть файл

@ -2,7 +2,7 @@
# $HEADER$
#
# Use the top-level OpenMPI Makefile.options
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
@ -10,27 +10,25 @@ SUBDIRS = src
EXTRA_DIST = VERSION
# According to the MCA spec, we have to make the output library here
# in the top-level directory, and it has to be named
# libompi_ssi_coll_ompi_basic.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_ptl_self_LOADABLE_MODULE
module_noinst =
module_install = mca_ptl_self.la
if OMPI_BUILD_ptl_self_DSO
component_noinst =
component_install = mca_ptl_self.la
else
module_noinst = libmca_ptl_self.la
module_install =
component_noinst = libmca_ptl_self.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_ptl_self_la_SOURCES =
mca_ptl_self_la_LIBADD = \
src/libmca_ptl_self.la \
$(LIBOMPI_LA)
mca_ptl_self_la_LIBADD = src/libmca_ptl_self.la $(LIBOMPI_LA)
mca_ptl_self_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_ptl_self_la_SOURCES =
libmca_ptl_self_la_LIBADD = src/libmca_ptl_self.la
libmca_ptl_self_la_LDFLAGS = -module -avoid-version

Просмотреть файл

@ -2,7 +2,7 @@
# $HEADER$
#
# Use the top-level OMPI Makefile.options
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
@ -10,27 +10,25 @@ SUBDIRS = src
EXTRA_DIST = VERSION
# According to the MCA spec, we have to make the output library here
# in the top-level directory, and it has to be named
# libompi_ssi_coll_ompi_basic.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_ptl_sm_LOADABLE_MODULE
module_noinst =
module_install = mca_ptl_sm.la
if OMPI_BUILD_ptl_sm_DSO
component_noinst =
component_install = mca_ptl_sm.la
else
module_noinst = libmca_ptl_sm.la
module_install =
component_noinst = libmca_ptl_sm.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_ptl_sm_la_SOURCES =
mca_ptl_sm_la_LIBADD = \
src/libmca_ptl_sm.la \
$(LIBOMPI_LA)
mca_ptl_sm_la_LIBADD = src/libmca_ptl_sm.la $(LIBOMPI_LA)
mca_ptl_sm_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_ptl_sm_la_SOURCES =
libmca_ptl_sm_la_LIBADD = src/libmca_ptl_sm.la
libmca_ptl_sm_la_LDFLAGS = -module -avoid-version

Просмотреть файл

@ -2,7 +2,7 @@
# $HEADER$
#
# Use the top-level OMPI Makefile.options
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
@ -10,27 +10,25 @@ SUBDIRS = src
EXTRA_DIST = VERSION
# According to the MCA spec, we have to make the output library here
# in the top-level directory, and it has to be named
# libompi_ssi_coll_ompi_basic.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_ptl_tcp_LOADABLE_MODULE
module_noinst =
module_install = mca_ptl_tcp.la
if OMPI_BUILD_ptl_tcp_DSO
component_noinst =
component_install = mca_ptl_tcp.la
else
module_noinst = libmca_ptl_tcp.la
module_install =
component_noinst = libmca_ptl_tcp.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_ptl_tcp_la_SOURCES =
mca_ptl_tcp_la_LIBADD = \
src/libmca_ptl_tcp.la \
$(LIBOMPI_LA)
mca_ptl_tcp_la_LIBADD = src/libmca_ptl_tcp.la $(LIBOMPI_LA)
mca_ptl_tcp_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_ptl_tcp_la_SOURCES =
libmca_ptl_tcp_la_LIBADD = src/libmca_ptl_tcp.la
libmca_ptl_tcp_la_LDFLAGS = -module -avoid-version

Просмотреть файл

@ -1,9 +1,8 @@
# -*- makefile -*-
#
# $HEADER$
#
# Use the top-level OMPI Makefile.options
# Use the top-level Makefile.options
include $(top_ompi_srcdir)/config/Makefile.options
@ -11,27 +10,25 @@ SUBDIRS = src
EXTRA_DIST = VERSION
# According to the MCA spec, we have to make the output library here
# in the top-level directory, and it has to be named
# libompi_ssi_topo_ompi_unity.la
# Make the output library in this directory, and name it either
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
# (for static builds).
if OMPI_BUILD_topo_unity_LOADABLE_MODULE
module_noinst =
module_install = mca_topo_unity.la
if OMPI_BUILD_topo_unity_DSO
component_noinst =
component_install = mca_topo_unity.la
else
module_noinst = libmca_topo_unity.la
module_install =
component_noinst = libmca_topo_unity.la
component_install =
endif
mcamoduledir = $(libdir)/openmpi
mcamodule_LTLIBRARIES = $(module_install)
mcacomponentdir = $(libdir)/openmpi
mcacomponent_LTLIBRARIES = $(component_install)
mca_topo_unity_la_SOURCES =
mca_topo_unity_la_LIBADD = \
src/libmca_topo_unity.la \
$(LIBMPI_LA)
mca_topo_unity_la_LIBADD = src/libmca_topo_unity.la $(LIBMPI_LA)
mca_topo_unity_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(module_noinst)
noinst_LTLIBRARIES = $(component_noinst)
libmca_topo_unity_la_SOURCES =
libmca_topo_unity_la_LIBADD = src/libmca_topo_unity.la
libmca_topo_unity_la_LDFLAGS = -module -avoid-version