From 25a6b67cd8188e5a968c0c89adf99f874c7eecb4 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Wed, 4 Dec 2019 17:51:22 +0000 Subject: COMPMID-2970: Update suggested android toolchain to 17c. Change-Id: Id283f9f486560be10028111e1c0613fd67b97c5c Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/c/2416 Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- docs/00_introduction.dox | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/00_introduction.dox b/docs/00_introduction.dox index b337d407d5..ece9711d8d 100644 --- a/docs/00_introduction.dox +++ b/docs/00_introduction.dox @@ -1227,25 +1227,25 @@ Below is a list of the common parameters among the graph examples : @subsection S3_3_android Building for Android For Android, the library was successfully built and tested using Google's standalone toolchains: - - clang++ from NDK r17b for armv7a - - clang++ from NDK r17b for arm64-v8a + - clang++ from NDK r17c for armv7a + - clang++ from NDK r17c for arm64-v8a - clang++ from NDK r18-beta1 for arm64-v8.2-a with FP16 support Here is a guide to create your Android standalone toolchains from the NDK -- Download the NDK r17b from here: https://developer.android.com/ndk/downloads/index.html +- Download the NDK r17c from here: https://developer.android.com/ndk/downloads/index.html - Make sure you have Python 2.7 installed on your machine. - Generate the 32 and/or 64 toolchains by running the following commands: - $NDK/build/tools/make_standalone_toolchain.py --arch arm64 --install-dir $MY_TOOLCHAINS/aarch64-linux-android-ndk-r17b --stl libc++ --api 21 - $NDK/build/tools/make_standalone_toolchain.py --arch arm --install-dir $MY_TOOLCHAINS/arm-linux-android-ndk-r17b --stl libc++ --api 21 + $NDK/build/tools/make_standalone_toolchain.py --arch arm64 --install-dir $MY_TOOLCHAINS/aarch64-linux-android-ndk-r17c --stl libc++ --api 21 + $NDK/build/tools/make_standalone_toolchain.py --arch arm --install-dir $MY_TOOLCHAINS/arm-linux-android-ndk-r17c --stl libc++ --api 21 @attention We used to use gnustl but as of NDK r17 it is deprecated so we switched to libc++ @note Make sure to add the toolchains to your PATH: - export PATH=$PATH:$MY_TOOLCHAINS/aarch64-linux-android-ndk-r17b/bin:$MY_TOOLCHAINS/arm-linux-android-ndk-r17b/bin + export PATH=$PATH:$MY_TOOLCHAINS/aarch64-linux-android-ndk-r17c/bin:$MY_TOOLCHAINS/arm-linux-android-ndk-r17c/bin @subsubsection S3_3_1_library How to build the library ? -- cgit v1.2.1