@@ -69,9 +67,28 @@ The compilation procedure is as follows:
...
@@ -69,9 +67,28 @@ The compilation procedure is as follows:
2. Run the following command in the root directory of the source code to compile MindSpore Lite.
2. Run the following command in the root directory of the source code to compile MindSpore Lite.
```bash
- Compile converter tool:
bash build.sh -I x86_64
```
```bash
bash build.sh -I x86_64
```
- Compile inference platform:
Set path of ANDROID_NDK:
```bash
export ANDROID_NDK={$NDK_PATH}/android-ndk-r20b
```
According to the phone,you can choose`arm64`:
```bash
bash build.sh -I arm64
```
or`arm32`:
```bash
bash build.sh -I arm32
```
3. Go to the `mindspore/output` directory of the source code to obtain the compilation result. Unzip `MSLite-0.6.0-linux_x86_64.tar.gz` to get the result after building.
3. Go to the `mindspore/output` directory of the source code to obtain the compilation result. Unzip `MSLite-0.6.0-linux_x86_64.tar.gz` to get the result after building.