Disable monitoring if we compile statically.
Protect all components against compilation on static builds. Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
Этот коммит содержится в:
родитель
458ccc12e1
Коммит
64bff0e326
23
ompi/mca/coll/monitoring/configure.m4
Обычный файл
23
ompi/mca/coll/monitoring/configure.m4
Обычный файл
@ -0,0 +1,23 @@
|
||||
# -*- shell-script -*-
|
||||
#
|
||||
# Copyright (c) 2017 The University of Tennessee and The University
|
||||
# of Tennessee Research Foundation. All rights
|
||||
# reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# MCA_ompi_coll_monitoring_CONFIG([action-if-can-compile],
|
||||
# [action-if-cant-compile])
|
||||
# ------------------------------------------------
|
||||
AC_DEFUN([MCA_ompi_coll_monitoring_CONFIG],[
|
||||
AC_CONFIG_FILES([ompi/mca/coll/monitoring/Makefile])
|
||||
|
||||
AS_IF([test MCA_BUILD_ompi_common_monitoring_DSO_TRUE == ''],
|
||||
[$1],
|
||||
[$2])
|
||||
])dnl
|
||||
|
@ -22,5 +22,7 @@ AC_DEFUN([MCA_ompi_common_monitoring_CONFIG],[
|
||||
aggregate_profile.pl:test/monitoring/aggregate_profile.pl)])])
|
||||
|
||||
|
||||
[$1]
|
||||
AS_IF([test MCA_BUILD_ompi_common_monitoring_DSO_TRUE == ''],
|
||||
[$1],
|
||||
[$2])
|
||||
])dnl
|
||||
|
@ -11,9 +11,12 @@
|
||||
# MCA_ompi_osc_monitoring_CONFIG()
|
||||
# ------------------------------------------------
|
||||
AC_DEFUN([MCA_ompi_osc_monitoring_CONFIG],[
|
||||
AC_CONFIG_FILES([ompi/mca/osc/monitoring/Makefile])
|
||||
AC_CONFIG_FILES([ompi/mca/osc/monitoring/Makefile])
|
||||
|
||||
OPAL_CHECK_PORTALS4([osc_monitoring],
|
||||
[AC_DEFINE([OMPI_WITH_OSC_PORTALS4], [1], [Whether or not to generate template for osc_portals4])],
|
||||
[])
|
||||
])dnl
|
||||
AS_IF([test MCA_BUILD_ompi_common_monitoring_DSO_TRUE == ''],
|
||||
[$1],
|
||||
[$2])
|
||||
OPAL_CHECK_PORTALS4([osc_monitoring],
|
||||
[AC_DEFINE([OMPI_WITH_OSC_PORTALS4], [1], [Whether or not to generate template for osc_portals4])],
|
||||
[])
|
||||
])dnl
|
||||
|
24
ompi/mca/pml/monitoring/configure.m4
Обычный файл
24
ompi/mca/pml/monitoring/configure.m4
Обычный файл
@ -0,0 +1,24 @@
|
||||
# -*- shell-script -*-
|
||||
#
|
||||
# Copyright (c) 2017 The University of Tennessee and The University
|
||||
# of Tennessee Research Foundation. All rights
|
||||
# reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# MCA_ompi_coll_monitoring_CONFIG([action-if-can-compile],
|
||||
# [action-if-cant-compile])
|
||||
# ------------------------------------------------
|
||||
AC_DEFUN([MCA_ompi_pml_monitoring_CONFIG],[
|
||||
AC_CONFIG_FILES([ompi/mca/pml/monitoring/Makefile])
|
||||
|
||||
AS_IF([test MCA_BUILD_ompi_common_monitoring_DSO_TRUE == ''],
|
||||
[$1],
|
||||
[$2])
|
||||
])dnl
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user