提交 22a2ca16 编写于 作者: L Liu Yiqun

Use html to draw tables in .md files.

上级 689a4ea3
......@@ -20,10 +20,11 @@ $ docker build -t username/paddle-android:dev . -f Dockerfile.android
构建好开发镜像后,即可使用开发镜像来编译Android版PaddlePaddle C-API库。
Android的Docker开发镜像向用户提供两个可配置的参数:
| Argument | Optional Values | Default |
|-----------------|-------------------------|---------|
|`ANDROID_ABI` |`armeabi-v7a, arm64-v8a` | `armeabi-v7a` |
|`ANDROID_API` |`>= 21` | `21` |
<table>
<tr><th>Argument</th><th>Optional Values</th><th>Default</th></tr>
<tr><td>ANDROID_ABI</td><td>armeabi-v7a, arm64-v8a</td><td>armeabi-v7a</td></tr>
<tr><td>ANDROID_API</td><td>>= 21</td><td>21</td></tr>
</table>
- 编译`armeabi-v7a``Android API 21`的PaddlePaddle库
```bash
......
......@@ -26,10 +26,11 @@ $ docker run -it --rm -v $PWD:/paddle -e "ANDROID_ABI=armeabi-v7a" -e "ANDROID_A
The Docker image accepts two arguments `ANDROID_ABI` and `ANDROID_API`:
| Argument | Optional Values | Default |
|-----------------|-------------------------|---------|
|`ANDROID_ABI` |`armeabi-v7a, arm64-v8a` | `armeabi-v7a` |
|`ANDROID_API` |`>= 21` | `21` |
<table>
<tr><th>Argument</th><th>Optional Values</th><th>Default</th></tr>
<tr><td>ANDROID_ABI</td><td>armeabi-v7a, arm64-v8a</td><td>armeabi-v7a</td></tr>
<tr><td>ANDROID_API</td><td>>= 21</td><td>21</td></tr>
</table>
The ARM-64 architecture (`arm64-v8a`) requires at least level 21 of Android API.
......
......@@ -27,10 +27,11 @@ iOS平台可选配置参数:
- `SIMULATOR`,构建目标为`x86`架构的模拟器平台。
- `IOS_ARCH`,目标架构。针对不同的`IOS_PLATFORM`,可设置的目标架构如下表所示:
| IOS_PLATFORM | IOS_ARCH |
|--------------|----------------------|
| OS | armv7, armv7s, arm64 (默认) |
| SIMULATOR | i386, x86_64 (默认) |
<table>
<tr><th>IOS_PLATFORM</th><th>IOS_ARCH</th></tr>
<tr><td>OS</td><td>armv7, armv7s, arm64 (默认)</td></tr>
<tr><td>SIMULATOR</td><td>i386, x86_64 (默认)</td></tr>
</table>
- `IOS_DEPLOYMENT_TARGET`,最小的iOS部署版本,默认值为`7.0`
- `IOS_ENABLE_BITCODE`,是否使能[Bitcode](https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/AppThinning/AppThinning.html#//apple_ref/doc/uid/TP40012582-CH35-SW3),可设置`ON/OFF`,默认值为`ON`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册