File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -128,16 +128,13 @@ set(src_dir "${PADDLE_SOURCE_DIR}/paddle/fluid")
128
128
set (dst_dir "${FLUID_INSTALL_DIR} /paddle/fluid" )
129
129
set (module "framework" )
130
130
if (NOT WIN32 )
131
- copy (framework_lib DEPS framework_py_proto
132
- SRCS ${src_dir} /${module}/*.h ${src_dir} /${module}/details/*.h ${PADDLE_BINARY_DIR} /paddle/fluid/framework/framework.pb.h
133
- DSTS ${dst_dir} /${module} ${dst_dir} /${module}/details ${dst_dir} /${module}
134
- )
135
- else ()
136
- copy (framework_lib
131
+ set (framework_lib_deps framework_py_proto )
132
+ endif (NOT WIN32 )
133
+ copy (framework_lib DEPS ${framework_lib_deps}
137
134
SRCS ${src_dir} /${module}/*.h ${src_dir} /${module}/details/*.h ${PADDLE_BINARY_DIR} /paddle/fluid/framework/framework.pb.h
138
- DSTS ${dst_dir} /${module} ${dst_dir} /${module}/details ${dst_dir} /${module}
135
+ ${src_dir} /${module}/ir/*.h
136
+ DSTS ${dst_dir} /${module} ${dst_dir} /${module}/details ${dst_dir} /${module} ${dst_dir} /${module}/ir
139
137
)
140
- endif (NOT WIN32 )
141
138
142
139
set (module "memory" )
143
140
copy (memory_lib
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ if(NOT APPLE)
22
22
endif ()
23
23
24
24
# Create static library
25
- cc_library (paddle_fluid DEPS ${fluid_modules} paddle_fluid_api paddle_inference_api )
25
+ cc_library (paddle_fluid DEPS ${fluid_modules} paddle_fluid_api paddle_inference_api analysis_predictor )
26
26
if (NOT APPLE )
27
27
# TODO(liuyiqu: Temporarily disable the link flag because it is not support on Mac.
28
28
set (LINK_FLAGS "-Wl,--retain-symbols-file ${CMAKE_CURRENT_SOURCE_DIR} /paddle_fluid.sym" )
You can’t perform that action at this time.
0 commit comments