Skip to content

Build Android extension with one-cmake-pass #6767

Open
@kirklandsign

Description

@kirklandsign

🚀 The feature, motivation and pitch

Right now we need to build android extension with two cmake passes: one on main ET, one on android specific extension. See https://github.com/pytorch/executorch/blob/main/build/build_android_llm_demo.sh#L38-L81

Ideally, we could make one pass. This way, it is also easier to build the AAR.

Alternatives

No response

Additional context

No response

RFC (Optional)

No response

Metadata

Metadata

Assignees

Labels

module: androidIssues related to Android code, build, and executiontriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

Status

Blocked

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions