-
Notifications
You must be signed in to change notification settings - Fork 29
Add CMakeLists.txt for the inference demo. #13
Conversation
benchmark/tool/C/FindPaddle.cmake
Outdated
message("Found") | ||
else() | ||
message(${PADDLE_ROOT}) | ||
message("Not Found") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest to use message(STATUS ...)
, and the message should be more detail, such as
message(STATUS "Found PaddlePaddle (include: ${PADDLE_INC}; library: ${PADDLE_LIB})")
message(FATAL_ERROR "Cannot find PaddlePaddle on ${PADDLE_ROOT}")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
benchmark/tool/C/FindPaddle.cmake
Outdated
link_directories(${PADDLE_ROOT}/third_party/gflags/lib/${ANDROID_ABI}) | ||
link_directories(${PADDLE_ROOT}/third_party/glog/lib/${ANDROID_ABI}) | ||
link_directories(${PADDLE_ROOT}/third_party/protobuf/lib/${ANDROID_ABI}) | ||
link_directories(${PADDLE_ROOT}/third_party/openblas/lib/${ANDROID_ABI}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sometimes, there is no openblas
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.