提交 f13aeb52 编写于 作者: H hedaoyuan

fix swig_api

上级 d11e2b40
...@@ -46,6 +46,7 @@ add_custom_command(OUTPUT ${PROJ_ROOT}/paddle/dist/.timestamp ...@@ -46,6 +46,7 @@ add_custom_command(OUTPUT ${PROJ_ROOT}/paddle/dist/.timestamp
WORKING_DIRECTORY ${PROJ_ROOT}/paddle WORKING_DIRECTORY ${PROJ_ROOT}/paddle
DEPENDS python_swig_sources DEPENDS python_swig_sources
paddle_parameter paddle_parameter
paddle_function
paddle_math paddle_math
paddle_utils paddle_utils
paddle_gserver paddle_gserver
......
...@@ -30,8 +30,8 @@ try: ...@@ -30,8 +30,8 @@ try:
whole_end = "" whole_end = ""
LIB_DIRS = [ LIB_DIRS = [
"math", 'utils', 'parameter', "gserver", "api", "cuda", "pserver", "math", 'function', 'utils', 'parameter', "gserver", "api", "cuda",
"trainer" "pserver", "trainer"
] ]
PARENT_LIB_DIRS = ['proto'] PARENT_LIB_DIRS = ['proto']
...@@ -75,6 +75,7 @@ try: ...@@ -75,6 +75,7 @@ try:
libs = [ libs = [
whole_start, whole_start,
"-lpaddle_gserver", "-lpaddle_gserver",
"-lpaddle_function",
whole_end, whole_end,
"-lpaddle_pserver", "-lpaddle_pserver",
"-lpaddle_trainer_lib", "-lpaddle_trainer_lib",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册