Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
8c8d5ea8
P
Paddle-Lite
项目概览
PaddlePaddle
/
Paddle-Lite
通知
338
Star
4
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
271
列表
看板
标记
里程碑
合并请求
78
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle-Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
271
Issue
271
列表
看板
标记
里程碑
合并请求
78
合并请求
78
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
8c8d5ea8
编写于
11月 02, 2019
作者:
H
huzhiqiang
提交者:
GitHub
11月 02, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify_mac_doc (#2350)
上级
13974a0d
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
10 addition
and
8 deletion
+10
-8
_all_pages/develop/source_compile.md
_all_pages/develop/source_compile.md
+5
-4
_all_pages/v2.0.0/source_compile.md
_all_pages/v2.0.0/source_compile.md
+5
-4
未找到文件。
_all_pages/develop/source_compile.md
浏览文件 @
8c8d5ea8
...
...
@@ -219,9 +219,10 @@ brew cask install java
至此,完成 Mac 交叉编译环境的准备。
#### Mac下Full Publish编译时需要**注意**
1.
cmake版本需要为cmake 3.10
2.
Paddle-Lite项目路径中不可以含有中文字符
3.
编译时如果报错:
`Too many open files`
1.
Mac下只支持Android的Full_publish编译
2.
cmake版本需要为cmake 3.10
3.
Paddle-Lite项目路径中不可以含有中文字符
4.
编译时如果报错:
`Too many open files`
解决方法:修改mac电脑的 “程序可打开的最大文件数“,例如:
`ulimit -n 1024`
。
## 二、编译PaddleLite
...
...
@@ -294,7 +295,7 @@ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
```
-
`--arm_abi`
: 树莓派3b使用armv7hf,RK3399使用armv8
#### 编译`full publish`动态库
(**Mac OS下不支持**)
#### 编译`full publish`动态库
##### Android
```
shell
...
...
_all_pages/v2.0.0/source_compile.md
浏览文件 @
8c8d5ea8
...
...
@@ -219,9 +219,10 @@ brew cask install java
至此,完成 Mac 交叉编译环境的准备。
#### Mac下Full Publish编译时需要**注意**
1.
cmake版本需要为cmake 3.10
2.
Paddle-Lite项目路径中不可以含有中文字符
3.
编译时如果报错:
`Too many open files`
1.
Mac下只支持Android的Full_publish编译
2.
cmake版本需要为cmake 3.10
3.
Paddle-Lite项目路径中不可以含有中文字符
4.
编译时如果报错:
`Too many open files`
解决方法:修改mac电脑的 “程序可打开的最大文件数“,例如:
`ulimit -n 1024`
。
## 二、编译PaddleLite
...
...
@@ -294,7 +295,7 @@ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
```
-
`--arm_abi`
: 树莓派3b使用armv7hf,RK3399使用armv8
#### 编译`full publish`动态库
(**Mac OS下不支持**)
#### 编译`full publish`动态库
##### Android
```
shell
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录