1
1

Patch submitted by Roland Dreier to look for a change in the OpenIB

API.

This commit was SVN r8687.
Этот коммит содержится в:
Jeff Squyres 2006-01-13 23:20:49 +00:00
родитель bf266c6109
Коммит 74d759dc47

Просмотреть файл

@ -119,6 +119,13 @@ AC_DEFUN([OMPI_CHECK_OPENIB],[
[$ompi_check_openib_have_srq], [$ompi_check_openib_have_srq],
[Whether install of OpenIB includes shared receive queue support]) [Whether install of OpenIB includes shared receive queue support])
AC_CHECK_FUNCS([ibv_get_device_list],
[ompi_check_openib_have_device_list=1],
[ompi_check_openib_have_device_list=0])
AC_DEFINE_UNQUOTED([OMPI_MCA_]m4_translit([$1], [a-z], [A-Z])[_HAVE_DEVICE_LIST],
[$ompi_check_openib_have_device_list],
[Whether install of OpenIB includes ibv_get_device_list API])
CPPFLAGS="$ompi_check_openib_$1_save_CPPFLAGS" CPPFLAGS="$ompi_check_openib_$1_save_CPPFLAGS"
LDFLAGS="$ompi_check_openib_$1_save_LDFLAGS" LDFLAGS="$ompi_check_openib_$1_save_LDFLAGS"
LIBS="$ompi_check_openib_$1_save_LIBS"], LIBS="$ompi_check_openib_$1_save_LIBS"],