Replies: 1 comment
-
+1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using a windows development machine and need a consistent way to build llama.cpp for the Android x86_64 emulator (not aarch64).
I have tried to build the shared libraries using termux on the x86_64 emulator. Everything is build except the shared libraries (so files).
If anyone has attempted it, please advise.
Thanks.
Edit:
I used Android Studio + NDK to build for android x86_64.
x86_64-linux-android33-clang -shared -o libggml-shared.so -fPIC ggml.c ggml-alloc.c ggml-backend.c ggml-quants.c -Wall
x86_64-linux-android33-clang++.cmd -shared -o libllama.so -fPIC llama.cpp -Wall -L. -lggml-shared
Then tried to load the resulting libllama.so in a test MAUI app with no success.
Can anyone pinpoint if I am missing something?
Beta Was this translation helpful? Give feedback.
All reactions