未验证 提交 3ec55faa 编写于 作者: C chalsliu 提交者: GitHub

[Inference] Fix IR shared lib not found

上级 0aca659b
......@@ -276,7 +276,13 @@ else()
SRCS ${paddle_phi_lib}
DSTS ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/lib)
endif()
if(WITH_SHARED_IR)
set(paddle_ir_lib ${PADDLE_BINARY_DIR}/paddle/ir/libir.*)
copy(
inference_lib_dist
SRCS ${paddle_ir_lib}
DSTS ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/lib)
endif()
endif()
copy(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册