Skip to content

Commit 17f71fb

Browse files
committed
configury: add portals4 include path to osc-monitoring component build
Signed-off-by: Todd Kordenbrock <[email protected]>
1 parent 096edf9 commit 17f71fb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ompi/mca/osc/monitoring/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ monitoring_sources = \
1919
osc_monitoring_module.h \
2020
osc_monitoring_template.h
2121

22+
AM_CPPFLAGS = $(osc_monitoring_portals4_CPPFLAGS)
23+
2224
if MCA_BUILD_ompi_osc_monitoring_DSO
2325
component_noinst =
2426
component_install = mca_osc_monitoring.la

ompi/mca/osc/monitoring/configure.m4

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ AC_DEFUN([MCA_ompi_osc_monitoring_CONFIG],[
1616
AS_IF([test "$MCA_BUILD_ompi_common_monitoring_DSO_TRUE" = ''],
1717
[$1],
1818
[$2])
19-
OPAL_CHECK_PORTALS4([osc_monitoring],
19+
OPAL_CHECK_PORTALS4([osc_monitoring_portals4],
2020
[AC_DEFINE([OMPI_WITH_OSC_PORTALS4], [1], [Whether or not to generate template for osc_portals4])],
2121
[])
22+
# substitute in the things needed to build portals4
23+
AC_SUBST([osc_monitoring_portals4_CPPFLAGS])
24+
AC_SUBST([osc_monitoring_portals4_LDFLAGS])
25+
AC_SUBST([osc_monitoring_portals4_LIBS])
2226
])dnl

0 commit comments

Comments
 (0)