Translate the iOS build doc#6180
Closed
wangkuiyi wants to merge 1 commit intoPaddlePaddle:developfrom
Closed
Conversation
kavyasrinet
approved these changes
Dec 1, 2017
kavyasrinet
left a comment
There was a problem hiding this comment.
LGTM.
Once merged, I can create another PR with a final polishing.
Xreki
reviewed
Dec 4, 2017
| - `CMAKE_SYSTEM_NAME`,CMake编译的目标平台,必须设置为`iOS`。在设置`CMAKE_SYSTEM_NAME=iOS`后,PaddlePaddle的CMake系统会自动编译所有的第三方依赖库,并且强制设置一些PaddlePaddle参数的值(`WITH_C_API=ON`、`WITH_GPU=OFF`、`WITH_AVX=OFF`、`WITH_PYTHON=OFF`、`WITH_RDMA=OFF`)。 | ||
| - `WITH_C_API`,是否编译C-API预测库,必须设置为ON。在iOS平台上只支持使用C-API来预测。 | ||
| - `WITH_SWIG_PY`,必须设置为ON。在iOS平台上不支持通过swig调用来训练或者预测。 | ||
| - `WITH_SWIG_PY`,必须设置为OFF。在iOS平台上不支持通过swig调用来训练或者预测。 |
| | `IOS_PLATFORM` | `IOS_ARCH` | | ||
| |----------------|------------| | ||
| | `OS` | armv7, armv7s, arm64 | | ||
| | `SIMULATOR` | i386, x86_64 | |
Contributor
There was a problem hiding this comment.
Please don't change the html table to markdown table. Markdown table cannot be correctly shown on the website. It is shown as:
You can preview the generated documentation as #6014.
| @@ -0,0 +1,132 @@ | |||
| # Build PaddlePaddle for iOS | |||
Contributor
There was a problem hiding this comment.
Need to add cross_compiling_for_ios_en.md to index_en.rst.
Collaborator
Author
|
I don't know why I didn't merge this very old PR earlier. It seems that it has many conflicts with the recent version. So I am closing it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.