diff options
Diffstat (limited to 'docs/00_introduction.dox')
-rw-r--r-- | docs/00_introduction.dox | 12 |
1 files changed, 6 insertions, 6 deletions
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 <a href="https://developer.android.com/ndk/guides/standalone_toolchain.html">create your Android standalone toolchains from the NDK</a> -- 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 ? |