File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ cc_library(paddle_fluid DEPS ${fluid_modules})
11
11
# Create shared library
12
12
cc_library (paddle_fluid_shared SHARED
13
13
SRCS io.cc
14
- DEPS ARCHIVE_START ${GLOB_OP_LIB} ${FLUID_CORE_MODULES} ARCHIVE_END )
14
+ DEPS ${GLOB_OP_LIB} ${FLUID_CORE_MODULES} )
15
15
set_target_properties (paddle_fluid_shared PROPERTIES OUTPUT_NAME paddle_fluid )
16
- if (NOT APPLE )
17
- # TODO(liuyiqun): Temporarily disable the link flag because it is not support on Mac.
18
- set (LINK_FLAGS "-Wl,--version-script ${CMAKE_CURRENT_SOURCE_DIR} /paddle_fluid.map" )
19
- set_target_properties (paddle_fluid_shared PROPERTIES LINK_FLAGS "${LINK_FLAGS} " )
20
- endif ()
16
+ # if(NOT APPLE)
17
+ # # TODO(liuyiqun): Temporarily disable the link flag because it is not support on Mac.
18
+ # set(LINK_FLAGS "-Wl,--version-script ${CMAKE_CURRENT_SOURCE_DIR}/paddle_fluid.map")
19
+ # set_target_properties(paddle_fluid_shared PROPERTIES LINK_FLAGS "${LINK_FLAGS}")
20
+ # endif()
21
21
22
22
if (WITH_TESTING )
23
23
add_subdirectory (tests/book )
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function(inference_test TARGET_NAME)
17
17
string (REGEX REPLACE "^_$" "" arg "${arg} " )
18
18
cc_test (test_inference_${TARGET_NAME}${arg}
19
19
SRCS test_inference_${TARGET_NAME}.cc
20
- DEPS ARCHIVE_START paddle_fluid ARCHIVE_END
20
+ DEPS paddle_fluid
21
21
ARGS --dirname=${PYTHON_TESTS_DIR}/book/${TARGET_NAME}${arg}.inference.model )
22
22
set_tests_properties (test_inference_${TARGET_NAME}${arg}
23
23
PROPERTIES DEPENDS test_${TARGET_NAME} )
You can’t perform that action at this time.
0 commit comments