aboutsummaryrefslogtreecommitdiff
path: root/docs/00_introduction.dox
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2021-03-01 13:49:58 +0000
committerGiorgio Arena <giorgio.arena@arm.com>2021-03-02 11:21:05 +0000
commit793daa138aee628bf80289191061ec8c81421bd2 (patch)
treeb713cbae73162a39cf5c24d199c424219b8b1dff /docs/00_introduction.dox
parent68e29dab4ada6e3457f066c3cf45acf51a204dd9 (diff)
downloadComputeLibrary-793daa138aee628bf80289191061ec8c81421bd2.tar.gz
Update documentation with instructions for building Android using NDK >= r19
Resolve COMPMID-4287 Change-Id: I01446708d2c5bc19150097890f838eef697ca081 Signed-off-by: Giorgio Arena <giorgio.arena@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5195 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'docs/00_introduction.dox')
-rw-r--r--docs/00_introduction.dox7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/00_introduction.dox b/docs/00_introduction.dox
index 9579673048..7659d56e25 100644
--- a/docs/00_introduction.dox
+++ b/docs/00_introduction.dox
@@ -1735,16 +1735,17 @@ For Android, the library was successfully built and tested using Google's standa
- clang++ from NDK r20b for arm64-v8a
- clang++ from NDK r20b 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>. Minimum NDK version required: r18b
-
+For NDK r18 or older, 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 r18b from here: https://developer.android.com/ndk/downloads/index.html to directory $NDK
- Make sure you have Python 2.7 installed on your machine.
- Generate the 32 and/or 64 toolchains by running the following commands to your toolchain dirctory $MY_TOOLCHAINS:
-
$NDK/build/tools/make_standalone_toolchain.py --arch arm64 --install-dir $MY_TOOLCHAINS/aarch64-linux-android-ndk-r18b --stl libc++ --api 21
$NDK/build/tools/make_standalone_toolchain.py --arch arm --install-dir $MY_TOOLCHAINS/arm-linux-android-ndk-r18b --stl libc++ --api 21
+For NDK r19 or newer, you can directly <a href="https://developer.android.com/ndk/downloads">Download</a> the NDK package for your development platform, without the need to launch the make_standalone_toolchain.py script. You can find all the prebuilt binaries inside $NDK/toolchains/llvm/prebuilt/$OS_ARCH/bin/.
+@attention the building script will look for a binary named "aarch64-linux-android-clang++", while the prebuilt binaries will have their API version as a suffix to their filename (e.g. "aarch64-linux-android21-clang++"). You should copy/rename the binary removing this suffix, or - alternatively - create an alias for it.
+
@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: