8000 readme : update Android build instructions (#1922) · CodeLinaro/llama.cpp@e1886cf · GitHub
[go: up one dir, main page]

Skip to content

Commit e1886cf

Browse files
authored
readme : update Android build instructions (ggml-org#1922)
Add steps for using termux on android devices to prevent common errors.
1 parent 8ab8ba6 commit e1886cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,12 @@ And after 4.45 hours, you will have the final perplexity.
617617
618618
#### Building the Project using Android NDK
619619
You can easily run `llama.cpp` on Android device with [termux](https://termux.dev/).
620-
First, obtain the [Android NDK](https://developer.android.com/ndk) and then build with CMake:
620+
621+
First, install the essential packages for termux:
622+
```
623+
pkg install clang wget git cmake
624+
```
625+
Second, obtain the [Android NDK](https://developer.android.com/ndk) and then build with CMake:
621626
```
622627
$ mkdir build-android
623628
$ cd build-android

0 commit comments

Comments
 (0)
0