Merge "Revert a libcxx patch due to MacOS incompatibility"
tree: 2d262968e097e202e02a807b8bb7e8fceb563665
  1. kernel-boot-tests/
  2. patches/
  3. test/
  4. .gitignore
  5. __init__.py
  6. AddressSanitizer.md
  7. android_llvm_next_flags.go
  8. android_version.py
  9. base_builders.py
  10. bisect_driver.py
  11. build.py
  12. builder_registry.py
  13. builders.py
  14. configs.py
  15. constants.py
  16. do_build.py
  17. do_kythe_xref.py
  18. do_test_compiler.py
  19. hosts.py
  20. kythe_xref.py
  21. mapfile.py
  22. merge_from_upstream.py
  23. MODULE_LICENSE_BSD_LIKE
  24. MODULE_LICENSE_MIT
  25. OWNERS
  26. paths.py
  27. PREUPLOAD.cfg
  28. py3_utils.py
  29. README.md
  30. source_manager.py
  31. test_compiler.py
  32. toolchains.py
  33. trim_patch_data.py
  34. update-binutils.py
  35. update-lldb-prebuilts.py
  36. update-prebuilts.py
  37. update_kernel_toolchain.py
  38. utils.py
  39. version.py
README.md

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