Lzhiyong/termux-ndk

android-ndk for termux

841

stars

1

commits

C

primary language

Jan 8, 2026

updated

android-ndk
clang
llvm
termux

README

Android ndk for Termux(only supports aarch64 and Android 9 or above)

The source code from AOSP llvm-toolchain, which is consistent with the official NDK version.

At first, we don‘t need to rebuild the whole NDK, since google already built most of it. so we only need to build the llvm toolchain, then replace the llvm inside NDK.

Building the android-ndk, please refer to Android Clang/LLVM Toolchain Readme Doc

Packaging and testing the android-ndk, please refer to Ndk Toolchains Readme Doc

Building android app with termux-ndk, please refer to build-app

Contributors

lzhiyong

1 commits

Lzhiyong/termux-ndk

android-ndk for termux

841

stars

1

commits

C

primary language

Jan 8, 2026

updated

android-ndk
clang
llvm
termux

README

Android ndk for Termux(only supports aarch64 and Android 9 or above)

The source code from AOSP llvm-toolchain, which is consistent with the official NDK version.

At first, we don‘t need to rebuild the whole NDK, since google already built most of it. so we only need to build the llvm toolchain, then replace the llvm inside NDK.

Building the android-ndk, please refer to Android Clang/LLVM Toolchain Readme Doc

Packaging and testing the android-ndk, please refer to Ndk Toolchains Readme Doc

Building android app with termux-ndk, please refer to build-app

Contributors

lzhiyong

1 commits

Languages

C

45.9%

C++

22.1%

Java

16.1%

Shell

9.6%

CMake

1.9%

Makefile

1.8%

Rust

1.6%