Skip to content

Commit

Permalink
Merge pull request #4904 from jjhursey/fix/v3.0.x/mpir-symbol-vi
Browse files Browse the repository at this point in the history
Fix MPIR_proctable structure visibility
  • Loading branch information
bwbarrett authored Mar 13, 2018
2 parents b33f035 + 5a5bd3f commit 41cc206
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
15 changes: 13 additions & 2 deletions orte/orted/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# All rights reserved.
# Copyright (c) 2014 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2015 Intel, Inc. All rights reserved.
# Copyright (c) 2018 IBM Corporation. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
Expand All @@ -29,7 +30,17 @@ headers += \

lib@ORTE_LIB_PREFIX@open_rte_la_SOURCES += \
orted/orted_main.c \
orted/orted_comm.c \
orted/orted_submit.c
orted/orted_comm.c

# The MPIR portion of the library must be built with -g, even if
# the rest of the library has other optimization flags.
# Use an intermediate library to isolate the debug object.
noinst_LTLIBRARIES += liborted_mpir.la
liborted_mpir_la_SOURCES = \
orted/orted_submit.c
liborted_mpir_la_CFLAGS = $(CFLAGS_WITHOUT_OPTFLAGS) $(DEBUGGER_CFLAGS)

lib@ORTE_LIB_PREFIX@open_rte_la_LIBADD += liborted_mpir.la


include orted/pmix/Makefile.am
10 changes: 1 addition & 9 deletions orte/tools/orterun/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,14 @@
# Copyright (c) 2008-2014 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved.
# Copyright (c) 2015 Intel, Inc. All rights reserved.
# Copyright (c) 2018 IBM Corporation. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#

# This is not quite in the Automake spirit, but we have to do it.
# Since the totalview portion of the library must be built with -g, we
# must eliminate the CFLAGS that are passed in here by default (which
# may already have debugging and/or optimization flags). We use
# post-processed forms of the CFLAGS in the library targets down
# below.

CFLAGS = $(CFLAGS_WITHOUT_OPTFLAGS) $(DEBUGGER_CFLAGS)

include $(top_srcdir)/Makefile.ompi-rules

man_pages = orterun.1
Expand Down

0 comments on commit 41cc206

Please sign in to comment.