diff options
author | haodong tang <haodong.tang@intel.com> | 2018-04-04 05:19:38 +0200 |
---|---|---|
committer | haodong <haodong.tang@intel.com> | 2018-06-20 08:08:20 +0200 |
commit | a240aef14391342951e46b19a99340829fc576b1 (patch) | |
tree | 2ca5c280d69af0ba783a601dff942e8824f337f7 /cmake | |
parent | Merge pull request #22531 from yuriw/wip-yuriw-crontab (diff) | |
download | ceph-a240aef14391342951e46b19a99340829fc576b1.tar.xz ceph-a240aef14391342951e46b19a99340829fc576b1.zip |
msg/async/rdma: add RDMA iWARP protocol support
Signed-off-by: Haodong Tang <haodong.tang@intel.com>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/Findrdma.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake/modules/Findrdma.cmake b/cmake/modules/Findrdma.cmake index eb31f7922c9..dcc6cac825b 100644 --- a/cmake/modules/Findrdma.cmake +++ b/cmake/modules/Findrdma.cmake @@ -10,9 +10,12 @@ find_path(RDMA_INCLUDE_DIR infiniband/verbs.h) set(RDMA_NAMES ${RDMA_NAMES} ibverbs) find_library(RDMA_LIBRARY NAMES ${RDMA_NAMES}) +set(RDMACM_NAMES ${RDMACM_NAMES} rdmacm) +find_library(RDMACM_LIBRARY NAMES ${RDMACM_NAMES}) + if (RDMA_INCLUDE_DIR AND RDMA_LIBRARY) set(RDMA_FOUND TRUE) - set(RDMA_LIBRARIES ${RDMA_LIBRARY}) + set(RDMA_LIBRARIES ${RDMA_LIBRARY} ${RDMACM_LIBRARY}) else () set(RDMA_FOUND FALSE) set( RDMA_LIBRARIES ) @@ -20,6 +23,7 @@ endif () if (RDMA_FOUND) message(STATUS "Found libibverbs: ${RDMA_LIBRARY}") + message(STATUS "Found librdmacm: ${RDMACM_LIBRARY}") include(CheckCXXSourceCompiles) CHECK_CXX_SOURCE_COMPILES(" |