diff --git a/_all_pages/develop/source_compile.md b/_all_pages/develop/source_compile.md index 2b9fe4d612bc2b31acbe9c65ae7f1d528a9670e7..224da75836f7bcade651761277ad203698b524b5 100644 --- a/_all_pages/develop/source_compile.md +++ b/_all_pages/develop/source_compile.md @@ -168,8 +168,8 @@ wget -c https://mms-res.cdn.bcebos.com/cmake-3.10.3-Linux-x86_64.tar.gz && \ ```shell # 1. Install basic software apt update -apt-get install -y --no-install-recomends \ - gcc g++ make wget python unzip +apt-get install -y --no-install-recommends \ + gcc g++ git make wget python unzip # 2. install cmake 3.10 or above 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 --android_stl=c++_static \ full_publish ``` + ##### ARMLinux ```shell ./lite/tools/build.sh \ @@ -396,4 +397,4 @@ rm -rf third-party 之后再根据本文档,进行后续编译时,便会忽略第三方依赖对应的`submodule`,改为下载第三方压缩包。 -**注意:该加速方法只对arm平台的移动端(android/armlinux/ios)编译有效,无法加速server平台(x86/cuda)的第三方库编译。所以当**[编译cuda 预测库](../cuda.md)**和**[编译x86预测库](../x86.md)**时,需要保证良好的网络环境。** \ No newline at end of file +**注意:该加速方法只对arm平台的移动端(android/armlinux/ios)编译有效,无法加速server平台(x86/cuda)的第三方库编译。所以当**[编译cuda 预测库](../cuda.md)**和**[编译x86预测库](../x86.md)**时,需要保证良好的网络环境。**