1
1

Disable monitoring if we compile statically.

Protect all components against compilation on static builds.

Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
Этот коммит содержится в:
George Bosilca 2017-06-29 21:07:20 +02:00
родитель 458ccc12e1
Коммит 64bff0e326
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 09C926752C9F09B1
4 изменённых файлов: 58 добавлений и 6 удалений

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 Обычный файл
Просмотреть файл

@ -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