For the latest version of this doc, please make sure to visit: Android Clang/LLVM Prebuilts Readme Doc
-
- Currently clang-r530567
- clang-r522817 for Android V release
- clang-r487747c for Android U release
- clang-r450784d for Android T release
- clang-r416183b1 for Android S release
- clang-r383902b1 for Android R-QPR2 release
- clang-r383902b for Android R release
- clang-r353983c1 for Android Q-QPR2 release
- clang-r353983c for Android Q release
- Look for "ClangDefaultVersion" and/or "clang-" in build/soong/cc/config/global.go.
-
Android Platform LLVM binutils
- Currently clang-r536225
- These are symlinks to llvm tools and can be updated by running update-binutils.py.
-
- Currently clang-r530567
- These are copies of some clang tools and can be updated by running update-clang-stable.py.
-
- Currently clang-3289846
- Look for "RSClangVersion" and/or "clang-" in build/soong/cc/config/global.go.
-
- Currently clang-r522817
- Look for "clang-" in mainline build configs.
- Look for "clang-" in android15-6.1 build configs
- When adding or removing a clang prebuilt, the list in
kleaf/versions.bzl
needs to be updated. - Internal LLVM developers should look in the partner gerrit for more kernel configurations.
- Currently clang-r522817
-
- Currently clang-r530567
- Look for "clang-" in ndk/toolchains.py
-
- LINUX_CLANG_BINDIR: clang-r498229b
- CLANG_BINDIR: clang-r498229b
- Look for "clang-" in vendor/google/aosp/scripts/envsetup.sh.
-
- Currently clang-r487747c
- Linux emulator is temporarily hardcoded to clang-r487747c, see b/268674933
- Look for "clang-" in external/qemu/android/build/toolchains.json.
- Note that they work out of the emu-master-dev branch.
- Android Code Search link
-
Context Hub Runtime Environment (CHRE)
- Currently clang-r498229b
- Look in system/chre/build/clang.mk.
-
- Currently clang-r530567
- Look for "clang-" in build-jetbrainsruntime-linux.sh
- Look for "clang-" in build-openjdk-darwin.sh
-
- Currently
- LLVM_PREBUILTS_VERSION=clang-r530567
- LLVM_RELEASE_VERSION=19
- Update development/vndk/tools/header-checker/envsetup.sh
- Check out branch clang-tools and run test: OUT_DIR=out prebuilts/clang-tools/build-prebuilts.sh
- Currently
-
Android Rust
- Toolchain
- Currently clang-r522817
- Look for "CLANG_REVISION" in paths.py
- Bindgen
- Currently clang-r522817
- Look for "bindgenClangVersion" in bindgen.go
- Toolchain
-
Stage 1 compiler
- Currently clang-r530567
- Look for "clang-r" in toolchain/llvm_android/constants.py
- Note the chicken & egg paradox of a self hosting bootstrapping compiler; this can only be updated AFTER a new prebuilt is checked in.
-
Android Studio / Android Game Development Extension
- Currently clang-r530567
- Look in lldb-utils/config/clang.version
-
libbootloader
- Currently clang-r530567
- Look for "CLANG_VERSION" in bootable/libbootloader/gbl/build.config.constants
- clang-3289846 - September 2016
- clang-r328903 - May 2018
- clang-r339409b - October 2018
- clang-r344140b - November 2018
- clang-r346389b - December 2018
- clang-r346389c - January 2019
- clang-r349610 - February 2019
- clang-r349610b - February 2019
- clang-r353983b - March 2019
- clang-r353983c - April 2019
- clang-r353983d - June 2019
- clang-r365631b - September 2019
- clang-r365631c - September 2019
- clang-r365631c1 - March 2020
- clang-r370808 - December 2019
- clang-r370808b - January 2020
- clang-r377782b - February 2020
- clang-r377782c - March 2020
- clang-r377782d - April 2020
- clang-r383902 - May 2020
- clang-r383902b - June 2020
- clang-r383902b1 - October 2020
- clang-r383902c - June 2020
- clang-r399163 - August 2020
- clang-r399163b - October 2020
- clang-r407598 - January 2021
- clang-r407598b - January 2021
- clang-r412851 - February 2021
- clang-r416183 - March 2021
- clang-r416183b - April 2021
- clang-r416183c - June 2021
- clang-r416183b1 - June 2021
- clang-r428724 - August 2021
- clang-r433403 - September 2021
- clang-r433403b - October 2021
- clang-r437112 - November 2021
- clang-r437112b - January 2022
- clang-r445002 - February 2022
- clang-r450784 - March 2022
- clang-r450784b - April 2022
- clang-r450784c - April 2022
- clang-r450784d - April 2022
- clang-r450784e - April 2022
- clang-r458507 - July 2022
- clang-r468909 - October 2022
- clang-r468909b - October 2022
- clang-r475365b - December 2022
- clang-r487747 - March 2023
- clang-r487747b - April 2023
- clang-r487747c - May 2023
- clang-r498229 - July 2023
- clang-r498229b - August 2023
- clang-r510928 - Jan 2024
- clang-r522817 - June 2024
- clang-r530567 - July 2024
We have a public mailing list that you can subscribe to: [email protected]
See also our release notes.