Bug: 68728864

Clone this repo:
  1. b07d6e4 Remove 32-bit Windows builds from build.py by Pirama Arumuga Nainar · 3 days ago master
  2. 6767937 Do not build compiler-rt for 32-bit Darwin by Pirama Arumuga Nainar · 7 days ago
  3. a06e60a Merge "build.py: update CLANG_REPOSITORY_STRING" by Pirama Arumuga Nainar · 7 days ago
  4. 1acebac build.py: update CLANG_REPOSITORY_STRING by Nick Desaulniers · 8 days ago
  5. 6bdf51c Remove 32-bit Windows support from update-prebuilts.py. by Stephen Hines · 8 days ago

Android Clang/LLVM Toolchain

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).

Build Instructions

$ 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.

More Information

We have a public mailing list that you can subscribe to: android-llvm@googlegroups.com