未验证 提交 b695f024 编写于 作者: W Wilber 提交者: GitHub

[IR] Fix inference glog error. (#54992)

* Fix inference glog error.

* fix compiler error in windows.

* update
上级 b4a149a5
......@@ -696,6 +696,9 @@ if(ON_INFER)
STATUS "On inference mode, will take place some specific optimization.")
include(inference_lib)
add_definitions(-DPADDLE_ON_INFERENCE)
set(WITH_SHARED_IR
OFF
CACHE STRING "Only paddle_inference.so is allowed in inference." FORCE)
else()
#TODO(luotao), combine this warning with `make inference_lib_dist` command.
message(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册