
With Open MPI 5.0, the decision was made to stop building 3rd-party packages, such as Libevent, HWLOC, PMIx, and PRRTE as MCA components and instead 1) start relying on external libraries whenever possible and 2) Open MPI builds the 3rd party libraries (if needed) as independent libraries, rather than linked into libopen-pal. This patch moves the hwloc library bundled with Open MPI from a MCA framework to a stand-alone library built outside of OPAL. Due to the amount of code in the MCA base (and its assumptions about being part of an MCA framework), the framework is left with no active components. Any pre-installed version of HWLOC 1.6 or newer is preferred over the internal version. Signed-off-by: Brian Barrett <bbarrett@amazon.com>
29 строки
641 B
Makefile
29 строки
641 B
Makefile
#
|
|
# Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved
|
|
# Copyright (c) 2016 Research Organization for Information Science
|
|
# and Technology (RIST). All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
EXTRA_DIST = autogen.options
|
|
|
|
# main library setup
|
|
noinst_LTLIBRARIES = libmca_hwloc.la
|
|
libmca_hwloc_la_SOURCES =
|
|
|
|
# local files
|
|
headers = hwloc-internal.h
|
|
libmca_hwloc_la_SOURCES += $(headers)
|
|
|
|
# Conditionally install the header files
|
|
if WANT_INSTALL_HEADERS
|
|
opaldir = $(opalincludedir)/$(subdir)
|
|
nobase_opal_HEADERS = $(headers)
|
|
endif
|
|
|
|
include base/Makefile.am
|