File tree Expand file tree Collapse file tree 2 files changed +3
-40
lines changed Expand file tree Collapse file tree 2 files changed +3
-40
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ cc_library(paddle_fluid_origin DEPS ${fluid_modules} paddle_fluid_api)
20
20
add_subdirectory (api )
21
21
22
22
# Create static library
23
- cc_library (paddle_fluid DEPS ${fluid_modules} paddle_fluid_api paddle_inference_api analysis_predictor )
23
+ cc_library (paddle_fluid DEPS ${fluid_modules} paddle_fluid_api paddle_inference_api
24
+ analysis_predictor zero_copy_tensor )
24
25
if (NOT APPLE )
25
26
# TODO(liuyiqu: Temporarily disable the link flag because it is not support on Mac.
26
27
set (LINK_FLAGS "-Wl,--retain-symbols-file ${CMAKE_CURRENT_SOURCE_DIR} /paddle_fluid.sym" )
@@ -31,6 +32,7 @@ endif()
31
32
cc_library (paddle_fluid_shared SHARED
32
33
SRCS io.cc ${CMAKE_CURRENT_SOURCE_DIR} /api/api.cc ${CMAKE_CURRENT_SOURCE_DIR} /api/api_impl.cc
33
34
${CMAKE_CURRENT_SOURCE_DIR} /api/analysis_predictor.cc
35
+ ${CMAKE_CURRENT_SOURCE_DIR} /api/details/zero_copy_tensor.cc
34
36
DEPS ${fluid_modules} paddle_fluid_api )
35
37
36
38
set_target_properties (paddle_fluid_shared PROPERTIES OUTPUT_NAME paddle_fluid )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments