Skip to content

example to build aarch64-linux-android #718

Open
@aesthetic-factory

Description

@aesthetic-factory

Hi, I've multiple attempts to cross-compile it for Android ARM.
I can cross-compile standalone llama cpp on my Linux desktop following the guide.
https://github.com/ggml-org/llama.cpp/blob/master/docs/android.md

But I cannot find a way to build it with Rust.
These are the commands I used.

cargo build --target aarch64-linux-android --no-default-features
cargo ndk -t arm64-v8a --release

I've also tried different build options and set different env variables but still no luck.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions