]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
readme : update Android build instructions (#1922)
authorMike <redacted>
Sun, 18 Jun 2023 08:28:26 +0000 (16:28 +0800)
committerGitHub <redacted>
Sun, 18 Jun 2023 08:28:26 +0000 (11:28 +0300)
Add steps for using termux on android devices to prevent common errors.

README.md

index 7defb7584db11fd1b799dd61a9f327fd227cde96..e5b3f59b368a94db239898d6c920ae2052b804fb 100644 (file)
--- 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