提交 a85ca79a 编写于 作者: W wuyi05

make swig link RDMA libs if RDMA enabled

上级 c4eb747f
...@@ -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.
先完成此消息的编辑!
想要评论请 注册