Fixed README and renamed

This commit is contained in:
Angel-HF
2024-04-14 13:32:06 +02:00
committed by GitHub
parent 8fe36ab3c2
commit dc2e2bb343

View File

@@ -1,9 +1,5 @@
# Aarch64 Linux Demo # Aarch64 Linux Demo
## Build ## Build
Ensure the `GCC_COMPILER_PATH` option in the `build-linux.sh` script is correctly configured:
```sh
GCC_COMPILER_PATH=/path/to/your/gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu
```
To execute, run: To execute, run:
```bash ```bash
bash build-linux.sh bash build-linux.sh
@@ -12,8 +8,8 @@ bash build-linux.sh
## Install ## Install
Push the compiled `llm_demo` file and `librkllmrt.so` file to the device: Push the compiled `llm_demo` file and `librkllmrt.so` file to the device:
```bash ```bash
adb push build/build_linux_aarch64_Release/llm_demo /userdata/llm cp build/build_linux_aarch64_Release/llm_demo /usr/bin
adb push ../runtime/Linux/librkllm_api/aarch64/librkllmrt.so /userdata/llm/lib cp ../runtime/Linux/librkllm_api/aarch64/librkllmrt.so /usr/local/lib
``` ```
## Run ## Run