Skip to content

regx/fwd: make the module static #4710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions orte/mca/regx/fwd/configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# -*- shell-script -*-
#
# Copyright (c) 2018 Research Organization for Information Science
# and Technology (RIST). All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#

# MCA_patcher_overwrite_CONFIG(action-if-can-compile,
# [action-if-cant-compile])
# ------------------------------------------------
AC_DEFUN([MCA_orte_regx_fwd_CONFIG],[
AC_CONFIG_FILES([orte/mca/regx/fwd/Makefile])
[$1]
])

#
# Force this component to compile in static-only mode
#
AC_DEFUN([MCA_orte_regx_fwd_COMPILE_MODE],[
AC_MSG_CHECKING([for MCA component $2:$3 compile mode])
$4="static"
AC_MSG_RESULT([$$4])
])
19 changes: 12 additions & 7 deletions test/util/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,19 @@ AM_CPPFLAGS = -I$(top_srcdir)/test/support
# opal_os_create_dirpath \
# opal_argv \
# opal_basename \
# opal_path_nfs \
# orte_nidmap
# opal_path_nfs


check_PROGRAMS = \
opal_bit_ops \
opal_path_nfs \
bipartite_graph

if PROJECT_ORTE
check_PROGRAMS += \
orte_nidmap
endif

TESTS = \
$(check_PROGRAMS)

Expand Down Expand Up @@ -122,11 +126,12 @@ opal_path_nfs_DEPENDENCIES = $(opal_path_nfs_LDADD)
# $(top_builddir)/test/support/libsupport.a
#orte_universe_setup_file_io_DEPENDENCIES = $(orte_universe_setup_file_io_LDADD)

#orte_nidmap_SOURCES = orte_nidmap.c
#orte_nidmap_LDADD = \
# $(top_builddir)/orte/libopen-rte.la \
# $(top_builddir)/test/support/libsupport.a
#orte_nidmap_DEPENDENCIES = $(orte_nidmap_LDADD)
orte_nidmap_SOURCES = orte_nidmap.c
orte_nidmap_LDADD = \
$(top_builddir)/orte/lib@[email protected] \
$(top_builddir)/opal/lib@[email protected] \
$(top_builddir)/test/support/libsupport.a
orte_nidmap_DEPENDENCIES = $(orte_nidmap_LDADD)

bipartite_graph_SOURCES = bipartite_graph.c
bipartite_graph_LDADD = \
Expand Down