aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMike <ytianhui2004@gmail.com>2023-06-18 16:28:26 +0800
committerGitHub <noreply@github.com>2023-06-18 11:28:26 +0300
commite1886cf4fe0d0f31661dda52a4a9f34bd9b9009a (patch)
treed9bbddeb3b2f4583de65128d4e4e9029fb0ab3ea /README.md
parent8ab8ba62eb27cc340be2edf3418e051b1d967416 (diff)
readme : update Android build instructions (#1922)
Add steps for using termux on android devices to prevent common errors.
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7defb75..e5b3f59 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