Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
RayLiu2015 committed Oct 16, 2018
1 parent 44e42e7 commit c0eef32
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ Paddle-Mobile是PaddlePaddle组织下的项目,是一个致力于嵌入式平
### 开发文档

开发文档主要是关于编译、运行等问题。做为开发者,它可以和贡献文档共同结合使用。
[开发文档链接](https://github.com/PaddlePaddle/paddle-mobile/blob/develop/doc/development_doc.md)
* [iOS](https://github.com/PaddlePaddle/paddle-mobile/blob/develop/doc/development_ios.md)
* [Android](https://github.com/PaddlePaddle/paddle-mobile/blob/develop/doc/development_android.md)

### 贡献文档
- [贡献文档链接](https://github.com/PaddlePaddle/paddle-mobile/blob/develop/CONTRIBUTING.md)
Expand Down
Empty file added doc/development_arm_linux.md
Empty file.
22 changes: 20 additions & 2 deletions doc/development_ios.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# iOS开发文档

## 编译
## CPU

需要: xcode

### 编译

```sh

Expand All @@ -23,7 +27,7 @@ cd ../build/release/ios/build
这个问题是因为 tools/ios-cmake/ios.toolchain.cmake 找不到你最近使用的 iOS SDK 路径, 所以需要自己进行指定,
以我当前的环境为例: 在 tools/ios-cmake/ios.toolchain.cmake 143行前添加我本地的 iOS SDK 路径: set(CMAKE_IOS_SDK_ROOT "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk")

## 集成
### 集成

```
将上一步生成的:
Expand Down Expand Up @@ -65,3 +69,17 @@ PaddleMobile.h
- (void)clear;
```

## GPU

需要: xcode、cocoapods

```
# 在 paddle-mobile 目录下:
cd metal
pod install
open paddle-mobile.xcworkspace
```

0 comments on commit c0eef32

Please sign in to comment.