e1d079544b
* Resolves #3705 * Components should link against the project level library to better support `dlopen` with `RTLD_LOCAL`. * Extend the `mca_FRAMEWORK_COMPONENT_la_LIBADD` in the `Makefile.am` with the appropriate project level library: ``` MCA components in ompi/ $(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la MCA components in orte/ $(top_builddir)/orte/lib@ORTE_LIB_PREFIX@open-rte.la MCA components in opal/ $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la MCA components in oshmem/ $(top_builddir)/oshmem/liboshmem.la" ``` Note: The changes in this commit were automated by the script in the commit that proceeds it with the `libadd_mca_comp_update.py` script. Some components were not included in this change because they are statically built only. Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
47 строки
1.5 KiB
Makefile
47 строки
1.5 KiB
Makefile
#
|
|
# Copyright (c) 2014 Intel, Inc. All rights reserved.
|
|
# Copyright (c) 2016 Los Alamos National Security, LLC. All rights
|
|
# reserved.
|
|
# Copyright (c) 2017 IBM Corporation. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
dist_opaldata_DATA = help-pmix-cray.txt
|
|
|
|
sources = \
|
|
pmix_cray.h \
|
|
pmix_cray_component.c \
|
|
pmix_cray_pmap_parser.c \
|
|
pmix_cray_pmap_parser.h \
|
|
pmix_cray.c
|
|
|
|
# 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 MCA_BUILD_opal_pmix_cray_DSO
|
|
component_noinst =
|
|
component_install = mca_pmix_cray.la
|
|
else
|
|
component_noinst = libmca_pmix_cray.la
|
|
component_install =
|
|
endif
|
|
|
|
mcacomponentdir = $(opallibdir)
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
|
mca_pmix_cray_la_SOURCES = $(sources)
|
|
mca_pmix_cray_la_CPPFLAGS = $(pmix_cray_CPPFLAGS) $(pmix_alps_CPPFLAGS)
|
|
mca_pmix_cray_la_LDFLAGS = -module -avoid-version $(pmix_cray_LDFLAGS) $(pmix_alps_LDFLAGS)
|
|
mca_pmix_cray_la_LIBADD = $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la \
|
|
$(pmix_cray_LIBS) $(pmix_alps_LIBS)
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
|
libmca_pmix_cray_la_SOURCES =$(sources)
|
|
libmca_pmix_cray_la_CPPFLAGS = $(pmix_cray_CPPFLAGS) $(pmix_alps_CPPFLAGS)
|
|
libmca_pmix_cray_la_LDFLAGS = -module -avoid-version $(pmix_cray_LDFLAGS) $(pmix_alps_LDFLAGS)
|
|
libmca_pmix_cray_la_LIBADD = $(pmix_cray_LIBS) $(pmix_alps_LIBS)
|