Skip to content

Commit

Permalink
regx/fwd: make the module static
Browse files Browse the repository at this point in the history
and enable test/util/orte_nidmap

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
  • Loading branch information
ggouaillardet committed Jan 13, 2018
1 parent 64ba33c commit 0a47d29
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 7 deletions.
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])
])
18 changes: 11 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,11 @@ 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/libopen-rte.la \
$(top_builddir)/test/support/libsupport.a
orte_nidmap_DEPENDENCIES = $(orte_nidmap_LDADD)

bipartite_graph_SOURCES = bipartite_graph.c
bipartite_graph_LDADD = \
Expand Down

0 comments on commit 0a47d29

Please sign in to comment.