Skip to content

Building a Complete Toolchain #1890

Answered by rprichard
thekief asked this question in Q&A
Discussion options

You must be logged in to vote

Running build.py in llvm_android creates a "toolchain prebuilt", like the clang-r487747c directory in:
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master

The wrapper scripts with the API levels in them (the 24 in aarch64-linux-android24-clang) are actually created by the NDK build script (checkbuild.py, https://android.googlesource.com/platform/ndk/+/master/docs/Building.md).

See the "NDK" section in https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/README.md, which describes how to update the NDK build script to use a different toolchain prebuilt.

The make_standalone_toolchain.py script copies the NDK and creates a…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by DanAlbert
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants