未验证 提交 eaf4b534 编写于 作者: G guofei 提交者: GitHub

Modify source_compile.md (#2383)

test=develop
上级 c13ba82e
...@@ -168,8 +168,8 @@ wget -c https://mms-res.cdn.bcebos.com/cmake-3.10.3-Linux-x86_64.tar.gz && \ ...@@ -168,8 +168,8 @@ wget -c https://mms-res.cdn.bcebos.com/cmake-3.10.3-Linux-x86_64.tar.gz && \
```shell ```shell
# 1. Install basic software # 1. Install basic software
apt update apt update
apt-get install -y --no-install-recomends \ apt-get install -y --no-install-recommends \
gcc g++ make wget python unzip gcc g++ git make wget python unzip
# 2. install cmake 3.10 or above # 2. install cmake 3.10 or above
wget https://www.cmake.org/files/v3.10/cmake-3.10.3.tar.gz wget https://www.cmake.org/files/v3.10/cmake-3.10.3.tar.gz
...@@ -307,6 +307,7 @@ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer ...@@ -307,6 +307,7 @@ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
--android_stl=c++_static \ --android_stl=c++_static \
full_publish full_publish
``` ```
##### ARMLinux ##### ARMLinux
```shell ```shell
./lite/tools/build.sh \ ./lite/tools/build.sh \
...@@ -396,4 +397,4 @@ rm -rf third-party ...@@ -396,4 +397,4 @@ rm -rf third-party
之后再根据本文档,进行后续编译时,便会忽略第三方依赖对应的`submodule`,改为下载第三方压缩包。 之后再根据本文档,进行后续编译时,便会忽略第三方依赖对应的`submodule`,改为下载第三方压缩包。
**注意:该加速方法只对arm平台的移动端(android/armlinux/ios)编译有效,无法加速server平台(x86/cuda)的第三方库编译。所以当**[编译cuda 预测库](../cuda.md)**和**[编译x86预测库](../x86.md)**时,需要保证良好的网络环境。** **注意:该加速方法只对arm平台的移动端(android/armlinux/ios)编译有效,无法加速server平台(x86/cuda)的第三方库编译。所以当**[编译cuda 预测库](../cuda.md)**和**[编译x86预测库](../x86.md)**时,需要保证良好的网络环境。**
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册