1
1
openmpi/orte/runtime/Makefile.am
James Clark 20f5840cbb Add a compilation flag that adds unwind info to all files that are present in the stack starting from MPI_Init.
This is so when a debugger attaches using MPIR, it can step out of this stack back into main.
This cannot be done with certain aggressive optimisations and missing debug information.

Signed-off-by: James Clark <james.clark@arm.com>
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>

Co-authored-by: Jeff Squyres <jsquyres@cisco.com>
2019-03-27 14:32:15 +00:00

63 строки
2.3 KiB
Makefile

# -*- makefile -*-
#
# Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
# University Research and Technology
# Corporation. All rights reserved.
# Copyright (c) 2004-2005 The University of Tennessee and The University
# of Tennessee Research Foundation. All rights
# reserved.
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
# University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# Copyright (c) 2009-2014 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2012 Los Alamos National Security, LLC.
# All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# This makefile.am does not stand on its own - it is included from orte/Makefile.am
dist_ortedata_DATA += runtime/help-orte-runtime.txt
headers += \
runtime/runtime.h \
runtime/orte_locks.h \
runtime/orte_globals.h \
runtime/orte_quit.h \
runtime/runtime_internals.h \
runtime/data_type_support/orte_dt_support.h \
runtime/orte_wait.h \
runtime/orte_cr.h \
runtime/orte_data_server.h \
runtime/orte_info_support.h
lib@ORTE_LIB_PREFIX@open_rte_la_SOURCES += \
runtime/orte_finalize.c \
runtime/orte_locks.c \
runtime/orte_globals.c \
runtime/orte_quit.c \
runtime/data_type_support/orte_dt_compare_fns.c \
runtime/data_type_support/orte_dt_copy_fns.c \
runtime/data_type_support/orte_dt_print_fns.c \
runtime/data_type_support/orte_dt_packing_fns.c \
runtime/data_type_support/orte_dt_unpacking_fns.c \
runtime/orte_mca_params.c \
runtime/orte_wait.c \
runtime/orte_cr.c \
runtime/orte_data_server.c \
runtime/orte_info_support.c
# The MPIR portion of the library must be built with flags to
# enable stepping out of MPI_INIT into main.
# Use an intermediate library to isolate the debug object.
noinst_LTLIBRARIES += libruntime_mpir.la
libruntime_mpir_la_SOURCES = \
runtime/orte_init.c
libruntime_mpir_la_CFLAGS = $(MPIR_UNWIND_CFLAGS)
lib@ORTE_LIB_PREFIX@open_rte_la_LIBADD += libruntime_mpir.la