-
I wanted to introduce some changes to the LLVM toolchain for testing purposes and built a toolchain following the official guide [1]. I stumbled on an issue though, the wrapper bash scripts for clang, e.g.,
are not created. I looked into this and noticed that
So I was wondering if there is a new way to create the bash script wrapper or [1] https://android.googlesource.com/toolchain/llvm_android/+/master/README.md |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Running build.py in llvm_android creates a "toolchain prebuilt", like the The wrapper scripts with the API levels in them (the 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 few extra wrapper scripts like |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
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
inaarch64-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…