-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: when --enable-rdmatrans is explicitly requested, failure to configure it is non-fatal. Make it fatal if the feature cannot be enabled. Also rename "rdmatrans" to "rdma" and label it experimental in the configure help output since it is not production ready. For example, if configured, it unconditionally tries to listen on a hard wired address.
- Loading branch information
Showing
6 changed files
with
36 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
AC_DEFUN([X_AC_RDMA], [ | ||
got_rdma=no | ||
AC_ARG_ENABLE([rdma], | ||
[AS_HELP_STRING([--enable-rdma], | ||
[build Infiniband RDMA transport (experimental)])], | ||
[want_rdma=yes], [want_rdma=no]) | ||
if test x$want_rdma == xyes; then | ||
X_AC_CHECK_COND_LIB(rdmacm, rdma_accept) | ||
X_AC_CHECK_COND_LIB(ibverbs, ibv_alloc_pd) | ||
AC_CHECK_HEADER([infiniband/verbs.h]) | ||
AC_CHECK_HEADER([rdma/rdma_cma.h]) | ||
if test x$ac_cv_lib_rdmacm_rdma_accept == xyes -a \ | ||
x$ac_cv_lib_ibverbs_ibv_alloc_pd == xyes -a \ | ||
x$ac_cv_header_infiniband_verbs_h == xyes -a \ | ||
x$ac_cv_header_rdma_rdma_cma_h == xyes; then | ||
got_rdma=yes | ||
AC_DEFINE([WITH_RDMA], [1], [build Infiniband RDMA transport]) | ||
else | ||
AC_MSG_ERROR([Could not configure RDMA: missing ibverbs/rdmacm packages]) | ||
fi | ||
fi | ||
AM_CONDITIONAL([RDMA], [test "x$got_rdma" != xno]) | ||
]) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters