Skip to content

Commit

Permalink
Update LLVM to r416183c for M1 support.
Browse files Browse the repository at this point in the history
There's an even newer LLVM that we should be using for r24, but for
now I'm staying on the current revision so we can keep r24 and r23
from diverging too much before we need to so testing is easier.

Test: ./checkbuild.py && ./run_tests.py
Bug: android/ndk#1544
Change-Id: I4d0cfb4dc4df6e7a3f42e7487de87ca43e56f379
(cherry picked from commit e3f5e9f)
  • Loading branch information
DanAlbert authored and Android Build Coastguard Worker committed Sep 24, 2021
1 parent 7026b68 commit f949a6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/changelogs/Changelog-r23.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,16 @@ For Android Studio issues, follow the docs on the [Android Studio site].

## r23b

* Update LLVM to clang-r416183c, based on LLVM 12 development.
* [Issue 1544]: Now uses universal binaries for M1 Macs.
* [Issue 1560]: Fixed pull-up of unsupported API levels when using the new CMake
toolchain file. This affects CMake 3.21 and
`ANDROID_USE_LEGACY_TOOLCHAIN_FILE=ON` use cases, and was the common case for
AGP users with a `minSdkVersion` below 21.
* [Issue 1573]: Fixed `ANDROID_USE_LEGACY_TOOLCHAIN_FILE` not being obeyed
during CMake try-compile.

[Issue 1544]: https://github.com/android/ndk/issues/1544
[Issue 1560]: https://github.com/android/ndk/issues/1560
[Issue 1573]: https://github.com/android/ndk/issues/1573

Expand Down
2 changes: 1 addition & 1 deletion ndk/toolchains.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import ndk.paths


CLANG_VERSION = 'clang-r416183b'
CLANG_VERSION = 'clang-r416183c'


HOST_TRIPLE_MAP = {
Expand Down

0 comments on commit f949a6c

Please sign in to comment.