commit | d635e95b6f57d9341eb6d71641eda8bb82bf1b95 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Thu Feb 20 20:48:39 2020 -0800 |
committer | Haibo Huang <hhb@google.com> | Thu Feb 20 20:53:46 2020 -0800 |
tree | 2a66a7677aeaf4b54b390fc9931d7cdd8180bfda | |
parent | 89f8e8afaff12f29d2eb8030be51082c609d3d69 [diff] |
Inhibit all of CMake's own NDK handling code. This looks like what the NDK is doing. https://android.googlesource.com/platform/ndk/+/refs/heads/master/build/cmake/android.toolchain.cmake#38 Change-Id: Id38f2a9c6de2aab7fc94670d85196b19875559d8
For the latest version of this doc, please make sure to visit: Android Clang/LLVM Toolchain Readme Doc
You can also visit the Android Clang/LLVM Prebuilts Readme Doc for more information about our prebuilt toolchains (and what versions they are based upon).
$ mkdir llvm-toolchain && cd llvm-toolchain $ repo init -u https://android.googlesource.com/platform/manifest -b llvm-toolchain $ repo sync -c $ python toolchain/llvm_android/build.py
If building on Linux, pass --no-build windows
to build.py
to skip building Clang for Windows.
If you have an additional llvm tree built and present in your $PATH
, then build.py
might fail during the Windows build of libcxxabi with the error 'libstdc++ version must be at least 4.8.'
. The solution is to remove that path from your $PATH
before invoking build.py
.
We have a public mailing list that you can subscribe to: android-llvm@googlegroups.com