Skip to content

Commit

Permalink
support NDK r27
Browse files Browse the repository at this point in the history
  • Loading branch information
justusranvier authored and pelya committed Sep 4, 2024
1 parent 83f0197 commit 58cbe93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ To compile Boost for Android you may use one of the following NDKs:
| r25c from the [official android repository](http://developer.android.com). | | | | | | | | | | | | | x | x | x | x | x | x | x | x | x | x |
| r26 from the [official android repository](http://developer.android.com). | | | | | | | | | | | | | x | x | x | x | x | x | x | x | x | x |
| r26d from the [official android repository](http://developer.android.com). | | | | | | | | | | | | | x | x | x | x | x | x | x | x | x | x |
| r27 from the [official android repository](http://developer.android.com). | | | | | | | | | | | | | x | x | x | x | x | x | x | x | x | x |

For NDK from r4 to r10, GCC with gnustl_static runtime library is used, only ARM architecture is supported.

Expand Down
4 changes: 2 additions & 2 deletions build-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ case "$NDK_RN" in
TOOLSET=clang
CONFIG_VARIANT=ndk19
;;
"22.1"|"23.0"|"23.1"|"25.0"|"25.1"|"25.2"|"26.0"|"26.1"|"26.2"|"26.3")
"22.1"|"23.0"|"23.1"|"25.0"|"25.1"|"25.2"|"26.0"|"26.1"|"26.2"|"26.3"|"27.0")
TOOLCHAIN=${TOOLCHAIN:-llvm}
CXXPATH=$AndroidNDKRoot/toolchains/${TOOLCHAIN}/prebuilt/${PlatformOS}-x86_64/bin/clang++
TOOLSET=clang
Expand All @@ -435,7 +435,7 @@ if [ -z "${ARCHLIST}" ]; then

case "$NDK_RN" in
# NDK 17+: Support for ARMv5 (armeabi), MIPS, and MIPS64 has been removed.
"17.1"|"17.2"|"18.0"|"18.1"|"19.0"|"19.1"|"19.2"|"20.0"|"20.1"|"21.0"|"21.1"|"21.2"|"21.3"|"21.4"|"22.1"|"23.0"|"23.1"|"25.0"|"25.1"|"25.2"|"26.0"|"26.1"|"26.2"|"26.3")
"17.1"|"17.2"|"18.0"|"18.1"|"19.0"|"19.1"|"19.2"|"20.0"|"20.1"|"21.0"|"21.1"|"21.2"|"21.3"|"21.4"|"22.1"|"23.0"|"23.1"|"25.0"|"25.1"|"25.2"|"26.0"|"26.1"|"26.2"|"26.3"|"27.0")
ARCHLIST="arm64-v8a armeabi-v7a x86 x86_64"
;;
*)
Expand Down

0 comments on commit 58cbe93

Please sign in to comment.