From: Mike Date: Sun, 18 Jun 2023 08:28:26 +0000 (+0800) Subject: readme : update Android build instructions (#1922) X-Git-Tag: gguf-v0.4.0~599 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=e1886cf4fe0d0f31661dda52a4a9f34bd9b9009a;p=pkg%2Fggml%2Fsources%2Fllama.cpp readme : update Android build instructions (#1922) Add steps for using termux on android devices to prevent common errors. --- diff --git a/README.md b/README.md index 7defb758..e5b3f59b 100644 --- a/README.md +++ b/README.md @@ -617,7 +617,12 @@ And after 4.45 hours, you will have the final perplexity. #### Building the Project using Android NDK You can easily run `llama.cpp` on Android device with [termux](https://termux.dev/). -First, obtain the [Android NDK](https://developer.android.com/ndk) and then build with CMake: + +First, install the essential packages for termux: +``` +pkg install clang wget git cmake +``` +Second, obtain the [Android NDK](https://developer.android.com/ndk) and then build with CMake: ``` $ mkdir build-android $ cd build-android