提交 27b9389a 编写于 作者: G gangliao 提交者: GitHub

Merge pull request #2437 from typhoonzero/update_rdma_swig_cmake

Make swig link RDMA libs if RDMA enabled
...@@ -41,6 +41,7 @@ SET(SWIG_MODULE_swig_paddle_EXTRA_DEPS ...@@ -41,6 +41,7 @@ SET(SWIG_MODULE_swig_paddle_EXTRA_DEPS
paddle_network paddle_network
paddle_proto paddle_proto
${external_project_dependencies} ${external_project_dependencies}
${RDMA_LIBS}
) )
IF(APPLE) IF(APPLE)
...@@ -73,6 +74,7 @@ SWIG_LINK_LIBRARIES(swig_paddle ...@@ -73,6 +74,7 @@ SWIG_LINK_LIBRARIES(swig_paddle
${CMAKE_DL_LIBS} ${CMAKE_DL_LIBS}
${EXTERNAL_LIBS} ${EXTERNAL_LIBS}
${CMAKE_THREAD_LIBS_INIT} ${CMAKE_THREAD_LIBS_INIT}
${RDMA_LD_FLAGS}
${START_END} ${START_END}
) )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册