Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
clang-3289846/ | 25-Apr-2025 | - | 173,141 | 143,835 | ||
clang-r522817/ | 25-Apr-2025 | - | 2,649,890 | 1,957,402 | ||
clang-r530567/ | 25-Apr-2025 | - | 2,673,094 | 1,972,727 | ||
clang-r530567b/ | 25-Apr-2025 | - | 2,673,088 | 1,972,723 | ||
clang-r536225/ | 25-Apr-2025 | - | 2,695,313 | 1,988,731 | ||
clang-stable/ | 25-Apr-2025 | - | 8,173 | 5,859 | ||
docs/ | 25-Apr-2025 | - | 173 | 130 | ||
embedded-sysroots/pigweed_riscv32_sysroot/ | 25-Apr-2025 | - | 215,606 | 165,343 | ||
kleaf/ | 25-Apr-2025 | - | 1,505 | 1,304 | ||
llvm-binutils-stable/ | 25-Apr-2025 | - | ||||
mlgo-models/ | 25-Apr-2025 | - | 1,905 | 1,896 | ||
profiles/ | 25-Apr-2025 | - | ||||
soong/ | 25-Apr-2025 | - | 799 | 656 | ||
.gitignore | D | 25-Apr-2025 | 46 | 3 | 2 | |
Android.bp | D | 25-Apr-2025 | 15.4 KiB | 589 | 534 | |
BINUTILS_KERNEL_DEPRECATION.md | D | 25-Apr-2025 | 4.6 KiB | 102 | 83 | |
BUILD.bazel | D | 25-Apr-2025 | 15.1 KiB | 408 | 383 | |
CleanSpec.mk | D | 25-Apr-2025 | 2.4 KiB | 55 | 2 | |
GCC_4_9_DEPRECATION.md | D | 25-Apr-2025 | 1.2 KiB | 36 | 29 | |
METADATA | D | 25-Apr-2025 | 1.2 KiB | 21 | 20 | |
OWNERS | D | 25-Apr-2025 | 379 | 14 | 11 | |
README.md | D | 25-Apr-2025 | 14.2 KiB | 166 | 141 | |
RELEASE_NOTES.md | D | 25-Apr-2025 | 6.9 KiB | 183 | 151 | |
go.mod | D | 25-Apr-2025 | 623 | 24 | 13 |
README.md
1Android Clang/LLVM Prebuilts 2============================ 3 4For the latest version of this doc, please make sure to visit: 5[Android Clang/LLVM Prebuilts Readme Doc](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/README.md) 6 7LLVM Users 8---------- 9 10* [**Android Platform**](https://android.googlesource.com/platform/) 11 * Currently clang-r530567 12 * clang-r522817 for Android V release 13 * clang-r487747c for Android U release 14 * clang-r450784d for Android T release 15 * clang-r416183b1 for Android S release 16 * clang-r383902b1 for Android R-QPR2 release 17 * clang-r383902b for Android R release 18 * clang-r353983c1 for Android Q-QPR2 release 19 * clang-r353983c for Android Q release 20 * Look for "ClangDefaultVersion" and/or "clang-" in [build/soong/cc/config/global.go](https://android.googlesource.com/platform/build/soong/+/master/cc/config/global.go/). 21 * [AOSP Code Search link](https://cs.android.com/android/platform/superproject/+/master:build/soong/cc/config/global.go?q=ClangDefaultVersion) 22 23* [**Android Platform LLVM binutils**](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/llvm-binutils-stable/) 24 * Currently clang-r536225 25 * These are *symlinks* to llvm tools and can be updated by running [update-binutils.py](https://android.googlesource.com/toolchain/llvm_android/+/refs/heads/master/update-binutils.py). 26 27* [**Android Platform clang-stable**](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-stable/) 28 * Currently clang-r530567 29 * These are *copies* of some clang tools and can be updated by running [update-clang-stable.py](https://android.googlesource.com/toolchain/llvm_android/+/refs/heads/master/update-clang-stable.py). 30 31* [**RenderScript**](https://developer.android.com/guide/topics/renderscript/index.html) 32 * Currently clang-3289846 33 * Look for "RSClangVersion" and/or "clang-" in [build/soong/cc/config/global.go](https://android.googlesource.com/platform/build/soong/+/master/cc/config/global.go/). 34 * [AOSP Code Search link](https://cs.android.com/android/platform/superproject/+/master:build/soong/cc/config/global.go?q=RSClangVersion) 35 36* [**Android Linux Kernel**](http://go/android-systems) 37 * Currently clang-r522817 38 * Look for "clang-" in [mainline build configs](https://android.googlesource.com/kernel/common/+/refs/heads/android-mainline/build.config.constants). 39 * Look for "clang-" in [android15-6.1 build configs](https://android.googlesource.com/kernel/common/+/refs/heads/android15-6.1/build.config.constants) 40 * When adding or removing a clang prebuilt, the list in `kleaf/versions.bzl` needs to be updated. 41 * Internal LLVM developers should look in the partner gerrit for more kernel configurations. 42 43* [**NDK**](https://developer.android.com/ndk) 44 * Currently clang-r530567 45 * Look for "clang-" in [ndk/toolchains.py](https://android.googlesource.com/platform/ndk/+/refs/heads/master/ndk/toolchains.py) 46 47* [**Trusty**](https://source.android.com/security/trusty/) 48 * LINUX_CLANG_BINDIR: clang-r498229b 49 * CLANG_BINDIR: clang-r498229b 50 * Look for "clang-" in [vendor/google/aosp/scripts/envsetup.sh](https://android.googlesource.com/trusty/vendor/google/aosp/+/master/scripts/envsetup.sh). 51 52* [**Android Emulator**](https://developer.android.com/studio/run/emulator.html) 53 * Currently clang-r487747c 54 * Linux emulator is temporarily hardcoded to clang-r487747c, see b/268674933 55 * Look for "clang-" in [external/qemu/android/build/toolchains.json](https://android.googlesource.com/platform/external/qemu/+/emu-master-dev/android/build/toolchains.json#2). 56 * Note that they work out of the emu-master-dev branch. 57 * [Android Code Search link](https://cs.android.com/android/platform/superproject/+/emu-master-dev:external/qemu/android/build/toolchains.json?q=clang) 58 59* [**Context Hub Runtime Environment (CHRE)**](https://android.googlesource.com/platform/system/chre/) 60 * Currently clang-r498229b 61 * Look in [system/chre/build/clang.mk](https://googleplex-android.googlesource.com/platform/system/chre/+/refs/heads/master/build/clang.mk#13). 62 * [Internal Code Search link](https://source.corp.google.com/android/system/chre/build/clang.mk?q=clang-) 63 64* [**OpenJDK (jdk/build)**](https://android.googlesource.com/toolchain/jdk/build/) 65 * Currently clang-r530567 66 * Look for "clang-" in [build-jetbrainsruntime-linux.sh](https://android.googlesource.com/toolchain/jdk/build/+/refs/heads/master/build-jetbrainsruntime-linux.sh) 67 * Look for "clang-" in [build-openjdk-darwin.sh](https://android.googlesource.com/toolchain/jdk/build/+/refs/heads/master/build-openjdk-darwin.sh) 68 69* [**Clang Tools**](https://android.googlesource.com/platform/prebuilts/clang-tools/) 70 * Currently 71 * LLVM_PREBUILTS_VERSION=clang-r530567 72 * LLVM_RELEASE_VERSION=19 73 * Update [development/vndk/tools/header-checker/envsetup.sh](https://android.googlesource.com/platform/development/+/refs/heads/master/vndk/tools/header-checker/android/envsetup.sh) 74 * Check out branch clang-tools and run test: OUT_DIR=out prebuilts/clang-tools/build-prebuilts.sh 75 76* **Android Rust** 77 * Toolchain 78 * Currently clang-r522817 79 * Look for "CLANG_REVISION" in [paths.py](https://android.googlesource.com/toolchain/android_rust/+/refs/heads/main/src/android_rust/paths.py) 80 * Bindgen 81 * Currently clang-r522817 82 * Look for "bindgenClangVersion" in [bindgen.go](https://android.googlesource.com/platform/build/soong/+/refs/heads/master/rust/bindgen.go) 83 84* **Stage 1 compiler** 85 * Currently clang-r530567 86 * Look for "clang-r" in [toolchain/llvm_android/constants.py](https://android.googlesource.com/toolchain/llvm_android/+/refs/heads/master/constants.py) 87 * Note the chicken & egg paradox of a self hosting bootstrapping compiler; this can only be updated AFTER a new prebuilt is checked in. 88 89* **Android Studio / Android Game Development Extension** 90 * Currently clang-r530567 91 * Look in [lldb-utils/config/clang.version](https://googleplex-android.git.corp.google.com/platform/external/lldb-utils/+/refs/heads/lldb-master-dev/config/clang.version) 92 93* **libbootloader** 94 * Currently clang-r530567 95 * Look for "CLANG_VERSION" in [bootable/libbootloader/gbl/build.config.constants](https://android.googlesource.com/platform/bootable/libbootloader/+/refs/heads/master/gbl/build.config.constants) 96 * [Android Code Search link](https://cs.android.com/android/platform/superproject/main/+/main:bootable/libbootloader/gbl/build.config.constants) 97 98 99Prebuilt Versions 100----------------- 101 102* [clang-3289846](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/clang-3289846/) - September 2016 103* [clang-r328903](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/clang-r328903/) - May 2018 104* [clang-r339409b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/clang-r339409b/) - October 2018 105* [clang-r344140b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/clang-r344140b/) - November 2018 106* [clang-r346389b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/clang-r346389b/) - December 2018 107* [clang-r346389c](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/clang-r346389c/) - January 2019 108* [clang-r349610](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/clang-r349610/) - February 2019 109* [clang-r349610b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/clang-r349610b/) - February 2019 110* [clang-r353983b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/clang-r353983b/) - March 2019 111* [clang-r353983c](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/clang-r353983c/) - April 2019 112* [clang-r353983d](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/clang-r353983d/) - June 2019 113* [clang-r365631b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/clang-r365631b/) - September 2019 114* [clang-r365631c](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-r365631c/) - September 2019 115* [clang-r365631c1](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-r365631c/) - March 2020 116* [clang-r370808](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-r370808/) - December 2019 117* [clang-r370808b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-r370808b/) - January 2020 118* [clang-r377782b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r377782b) - February 2020 119* [clang-r377782c](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r377782c) - March 2020 120* [clang-r377782d](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r377782d) - April 2020 121* [clang-r383902](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r383902) - May 2020 122* [clang-r383902b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r383902b) - June 2020 123* [clang-r383902b1](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r383902b1) - October 2020 124* [clang-r383902c](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r383902c) - June 2020 125* [clang-r399163](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r399163) - August 2020 126* [clang-r399163b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r399163b) - October 2020 127* [clang-r407598](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r407598) - January 2021 128* [clang-r407598b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r407598b) - January 2021 129* [clang-r412851](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r412851) - February 2021 130* [clang-r416183](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r416183) - March 2021 131* [clang-r416183b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r416183b) - April 2021 132* [clang-r416183c](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r416183b) - June 2021 133* [clang-r416183b1](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r416183b) - June 2021 134* [clang-r428724](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r428724) - August 2021 135* [clang-r433403](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r433403) - September 2021 136* [clang-r433403b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r433403b) - October 2021 137* [clang-r437112](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r437112) - November 2021 138* [clang-r437112b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r437112b) - January 2022 139* [clang-r445002](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r445002) - February 2022 140* [clang-r450784](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r450784) - March 2022 141* [clang-r450784b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r450784b) - April 2022 142* [clang-r450784c](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r450784c) - April 2022 143* [clang-r450784d](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r450784d) - April 2022 144* [clang-r450784e](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r450784e) - April 2022 145* [clang-r458507](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r458507) - July 2022 146* [clang-r468909](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r468909) - October 2022 147* [clang-r468909b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-r468909b) - October 2022 148* [clang-r475365b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-r475365b) - December 2022 149* [clang-r487747](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-r487747) - March 2023 150* [clang-r487747b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-r487747b) - April 2023 151* [clang-r487747c](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-r487747c) - May 2023 152* [clang-r498229](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-r498229) - July 2023 153* [clang-r498229b](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-r498229b) - August 2023 154* [clang-r510928](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-r510928) - Jan 2024 155* [clang-r522817](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-r522817) - June 2024 156* [clang-r530567](https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/master/clang-r530567) - July 2024 157 158 159More Information 160---------------- 161 162We have a public mailing list that you can subscribe to: 163[[email protected]](https://groups.google.com/forum/#!forum/android-llvm) 164 165See also our [release notes](RELEASE_NOTES.md). 166