diff --git a/tutorials/source_en/advanced_use/on_device_inference.md b/tutorials/source_en/advanced_use/on_device_inference.md index d7f4f7f8f6f7c8d07b332a96a99443c880f1c671..a0fb1c8c61a35455a2caf3fe50962eb531c766cf 100644 --- a/tutorials/source_en/advanced_use/on_device_inference.md +++ b/tutorials/source_en/advanced_use/on_device_inference.md @@ -49,7 +49,7 @@ The environment requirements are as follows: - [GCC](https://gcc.gnu.org/releases.html) >= 5.4 - [autoconf](http://ftp.gnu.org/gnu/autoconf/) 2.69 - [LLVM 8.0.0](http://releases.llvm.org/8.0.0/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz) - - [Android_NDK r16b](https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip) + - [Android_NDK r20b](https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip) - numpy >= 1.16 - decorator - scipy @@ -63,7 +63,7 @@ The compilation procedure is as follows: ```bash export LLVM_PATH={$LLVM_PATH}/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04/bin/llvm-config #Set the LLVM path. - export ANDROID_NDK={$NDK_PATH}/android-ndk-r16b #Set the NDK path. + export ANDROID_NDK={$NDK_PATH}/android-ndk-r20b #Set the NDK path. ``` 2. Download source code from the code repository. diff --git a/tutorials/source_zh_cn/advanced_use/on_device_inference.md b/tutorials/source_zh_cn/advanced_use/on_device_inference.md index 26d12ce101ddc3e03db17809a3e029992e71b6eb..0cd3a6ba882f2d12a555de386b7dfaa0369b9e31 100644 --- a/tutorials/source_zh_cn/advanced_use/on_device_inference.md +++ b/tutorials/source_zh_cn/advanced_use/on_device_inference.md @@ -49,7 +49,7 @@ MindSpore Lite的框架主要由Frontend、IR、Backend、Lite RT、Micro构成 - [GCC](https://gcc.gnu.org/releases.html) >= 5.4 - [autoconf](http://ftp.gnu.org/gnu/autoconf/) 2.69 - [LLVM 8.0.0](http://releases.llvm.org/8.0.0/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz) - - [Android_NDK r16b](https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip) + - [Android_NDK r20b](https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip) - numpy >= 1.16 - decorator - scipy @@ -63,7 +63,7 @@ MindSpore Lite的框架主要由Frontend、IR、Backend、Lite RT、Micro构成 ```bash export LLVM_PATH={$LLVM_PATH}/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/llvm-config #设定llvm路径 - export ANDROID_NDK={$NDK_PATH}/android-ndk-r16b #设定ndk路径 + export ANDROID_NDK={$NDK_PATH}/android-ndk-r20b #设定ndk路径 ``` 2. 从代码仓下载源码。