Skip to content

Commit

Permalink
Update to clang-r365631b.
Browse files Browse the repository at this point in the history
Includes the fix for 32-bit x86 with gold, and also the
`-static-openmp` driver option.

Test: ./checkbuild.py && ./run_tests.py
Bug: android/ndk#1028
Bug: android/ndk#1076
Change-Id: Ide30be0e318d861bf8491cae03e3374e1893d2bb
  • Loading branch information
DanAlbert committed Sep 16, 2019
1 parent b05051c commit 09ec0e6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/tools/prebuilt-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ get_llvm_toolchain_binprefix ()
{
local NAME DIR BINPREFIX
local SYSTEM=${1:-$(get_prebuilt_host_tag)}
local VERSION=r365631
local VERSION=r365631b
SYSTEM=${SYSTEM%_64} # Trim _64 suffix. We only have one LLVM.
BINPREFIX=$ANDROID_BUILD_TOP/prebuilts/clang/host/$SYSTEM/clang-$VERSION/bin
echo "$BINPREFIX"
Expand Down
5 changes: 5 additions & 0 deletions docs/changelogs/Changelog-r21.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ For Android Studio issues, follow the docs on the [Android Studio site].
Neon to disallow your app from being installed on those devices.
* [Issue 1004]: Fixed bug with bad line number information when building
Arm64 with `-O0`.
* [Issue 1028]: OpenMP is now available in both static and shared variants.
Note that shared is the default behavior, but in prior NDK releases the
static library would be used because there was no shared library. To keep
the old behavior, link with `-static-openmp`.
* Updated libc++ to r369764.
* Updated make to 4.2.1.
* Modified ndk-build to supply `-O` for more readable errors with parallel
Expand All @@ -65,6 +69,7 @@ For Android Studio issues, follow the docs on the [Android Studio site].
version 3.6 or newer to get the fix.

[Issue 1004]: https://github.com/android-ndk/ndk/issues/1004
[Issue 1028]: https://github.com/android/ndk/issues/1028
[Issue 855]: https://github.com/android-ndk/ndk/issues/855
[Issue 859]: https://github.com/android-ndk/ndk/issues/859
[Issue 884]: https://github.com/android-ndk/ndk/issues/884
Expand Down
2 changes: 1 addition & 1 deletion ndk/toolchains.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import ndk.paths


CLANG_VERSION = 'clang-r365631'
CLANG_VERSION = 'clang-r365631b'


HOST_TRIPLE_MAP = {
Expand Down

0 comments on commit 09ec0e6

Please sign in to comment.