1
1
Brian Barrett 9febaa475e * Add shell of functionality required for supporting Portals4
* Update places where orte-free builds have failed

This commit was SVN r23891.
2010-10-14 22:49:09 +00:00

53 строки
2.1 KiB
Bash

# -*- shell-script -*-
#
# Copyright (c) 2004-2005 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) 2010 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2010 Sandia National Laboratories. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
AC_DEFUN([MCA_orte_grpcomm_portals4_shmem_PRIORITY], [30])
# MCA_grpcomm_portals4_shmem_CONFIG([action-if-found], [action-if-not-found])
# -----------------------------------------------------------
AC_DEFUN([MCA_orte_grpcomm_portals4_shmem_CONFIG],[
AC_CONFIG_FILES([orte/mca/grpcomm/portals4_shmem/Makefile])
OMPI_CHECK_PORTALS4([grpcomm_portals4_shmem],
[grpcomm_portals4_shmem_happy="yes"],
[grpcomm_portals4_shmem_happy="no"])
AS_IF([test "$grpcomm_portals4_shmem_happy" = "yes"],
[grpcomm_portals4_shmem_WRAPPER_EXTRA_LDFLAGS="$grpcomm_portals4_shmem_LDFLAGS"
grpcomm_portals4_shmem_WRAPPER_EXTRA_LIBS="$grpcomm_portals4_shmem_LIBS"
$1],
[$2])
grpcomm_portals4_shmem_LDFLAGS_SAVE="$LDFLAGS"
grpcomm_portals4_shmem_LIBS_SAVE="$LIBS"
LDFLAGS="$LDFLAGS $grpcomm_portals4_shmem_LDFLAGS"
LIBS="$LIBS $grpcomm_portals4_shmem_LIBS"
AC_CHECK_FUNC([runtime_get_size], [$1], [$2])
LDFLAGS="$grpcomm_portals4_shmem_LDFLAGS_SAVE"
LIBS="$grpcomm_portals4_shmem_LIBS_SAVE"
# substitute in the things needed to build portals4_shmem
AC_SUBST([grpcomm_portals4_shmem_CPPFLAGS])
AC_SUBST([grpcomm_portals4_shmem_LDFLAGS])
AC_SUBST([grpcomm_portals4_shmem_LIBS])
])dnl