Skip to content

Commit

Permalink
remove analysis_predictor depend of paddle_inference, test=develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Avin0323 committed Mar 3, 2021
1 parent 002da93 commit 7c35a9a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions paddle/fluid/inference/capi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,4 @@ cc_library(paddle_inference_c_shared SHARED SRCS ${C_API_SRCS} DEPS paddle_infer
set_target_properties(paddle_inference_c_shared PROPERTIES OUTPUT_NAME paddle_inference_c)
if(WIN32)
target_link_libraries(paddle_inference_c_shared shlwapi.lib)
if("${CMAKE_GENERATOR}" STREQUAL "Ninja")
target_link_libraries(paddle_inference_c_shared analysis_predictor)
endif()
endif()
2 changes: 1 addition & 1 deletion paddle/scripts/paddle_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ set build_times=1
rem clcache.exe -z

echo Build Paddle the %build_times% time:
if "%GENERATOR%" == "Ninja" (
if %GENERATOR% == "Ninja" (
ninja -j %PARALLEL_PROJECT_COUNT%
) else (
if "%WITH_CLCACHE%"=="OFF" (
Expand Down

1 comment on commit 7c35a9a

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 7c35a9a Mar 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕵️ CI failures summary

🔍PR: #31161 Commit ID: 7c35a9a contains failed CI.

Please sign in to comment.