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

Deadlink in benchmark/tool/C #27

Closed
qingqing01 opened this issue Nov 15, 2017 · 2 comments
Closed

Deadlink in benchmark/tool/C #27

qingqing01 opened this issue Nov 15, 2017 · 2 comments

Comments

@qingqing01
Copy link
Collaborator

https://github.com/PaddlePaddle/Mobile/tree/develop/benchmark/tool/C

Refer to this document to compile the Android version of PaddlePaddle

The link to this document is a dead link. What does the PADDLE_ROOT mean in the cmake arguments?

cmake .. \
-DANDROID_ABI=arm64-v8a \
-DANDROID_STANDALONE_TOOLCHAIN=your/path/to/arm64_standalone_toolchain \
-DPADDLE_ROOT=The output path generated in the first step \
-DCMAKE_BUILD_TYPE=MinSizeRel
@hedaoyuan
Copy link
Collaborator

What does the PADDLE_ROOT mean in the cmake arguments?

The PADDLE_ROOT argument, is the directory that the CMAKE_INSTALL_PREFIX argument is set when building paddle.
The document link is https://github.com/PaddlePaddle/Paddle/blob/develop/doc/mobile/cross_compiling_for_android_en.md

@qingqing01
Copy link
Collaborator Author

qingqing01 commented Nov 15, 2017

Oh, I see... The argument PADDLE_ROOT is used in FindPaddle.cmake.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants