From dc2e2bb343cdee4a27168f7c3ab24f44eb3068cb Mon Sep 17 00:00:00 2001 From: Angel-HF <49835792+Pelochus@users.noreply.github.com> Date: Sun, 14 Apr 2024 13:32:06 +0200 Subject: [PATCH] Fixed README and renamed --- rkllm-runtime/example/{Readme.md => README.md} | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) rename rkllm-runtime/example/{Readme.md => README.md} (71%) diff --git a/rkllm-runtime/example/Readme.md b/rkllm-runtime/example/README.md similarity index 71% rename from rkllm-runtime/example/Readme.md rename to rkllm-runtime/example/README.md index f5cb6c0..b8dd6d9 100644 --- a/rkllm-runtime/example/Readme.md +++ b/rkllm-runtime/example/README.md @@ -1,9 +1,5 @@ # Aarch64 Linux Demo ## 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: ```bash bash build-linux.sh @@ -12,8 +8,8 @@ bash build-linux.sh ## Install Push the compiled `llm_demo` file and `librkllmrt.so` file to the device: ```bash -adb push build/build_linux_aarch64_Release/llm_demo /userdata/llm -adb push ../runtime/Linux/librkllm_api/aarch64/librkllmrt.so /userdata/llm/lib +cp build/build_linux_aarch64_Release/llm_demo /usr/bin +cp ../runtime/Linux/librkllm_api/aarch64/librkllmrt.so /usr/local/lib ``` ## Run @@ -48,4 +44,4 @@ adb shell cd /userdata/llm export LD_LIBRARY_PATH=./lib taskset f0 ./llm_demo /path/to/your/rkllm/model -``` \ No newline at end of file +```