mirror of
https://git.adityakumar.xyz/llama.cpp.git
synced 2024-11-09 15:29:43 +00:00
readme : update Android build instructions (#1922)
Add steps for using termux on android devices to prevent common errors.
This commit is contained in:
parent
8ab8ba62eb
commit
e1886cf4fe
1 changed files with 6 additions and 1 deletions
|
@ -617,7 +617,12 @@ And after 4.45 hours, you will have the final perplexity.
|
||||||
|
|
||||||
#### Building the Project using Android NDK
|
#### Building the Project using Android NDK
|
||||||
You can easily run `llama.cpp` on Android device with [termux](https://termux.dev/).
|
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
|
$ mkdir build-android
|
||||||
$ cd build-android
|
$ cd build-android
|
||||||
|
|
Loading…
Reference in a new issue