Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Add CMakeLists.txt for the inference demo. #13

Merged
merged 7 commits into from
Oct 20, 2017

Conversation

hedaoyuan
Copy link
Collaborator

No description provided.

message("Found")
else()
message(${PADDLE_ROOT})
message("Not Found")
Copy link
Collaborator

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}")

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

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})
Copy link
Collaborator

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

Copy link
Collaborator

@Xreki Xreki left a comment

Choose a reason for hiding this comment

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

LGTM

@hedaoyuan hedaoyuan merged commit a674c08 into PaddlePaddle:master Oct 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants