From b29d55aea4d4d18cae2b0655e72fd21de29a3d28 Mon Sep 17 00:00:00 2001 From: Mike Kelly Date: Thu, 5 Dec 2019 10:17:11 +0000 Subject: MLCE-149 Failure to build armnn 19.08 obtained from github * Updated FAQ to include instructions on resolving version incompatibilities between android-nn-driver, armnn and clframework. Signed-off-by: Mike Kelly Change-Id: I5f358d7241b9120c6896b8b8b38c89246e6573b1 --- docs/FAQ.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/FAQ.md b/docs/FAQ.md index 9f498768..e6a761e1 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -17,3 +17,19 @@ https://android.googlesource.com/platform/test/vts-testcase/hal/+/f74899c6c09b52 An acceptable workaround is to increase the timeout defined in AndroidTest.xml, in a similar way to https://android.googlesource.com/platform/test/vts-testcase/hal/+/f74899c6c09b52703e6db0323dffb4ae52539db4. +Problems seen when trying to build the android-nn-driver obtained from GitHub +----------------------------------------------------------------------------- + +Some users have encountered difficulties when attempting to build copies of the android-nn-driver obtained from GitHub. The build reports missing module source paths from clframework or armnn. This is due to incompatiblities between the android-nn-driver and armnn or clframework versions. The versions of android-nn-driver, armnn and clframework have to match for them to work together. So the 19.08 version of android-nn-driver, clframework and armnn will work together but none of them will work with earlier or later versions of the others. In order to ensure that the correct versions of armnn or clframework are obtained you can do the following: + +1. Delete or move the armnn or clframework directories from the android-nn-driver directory. +2. Run the setup.sh script in the android-nn-driver directory. + +This will download the correct versions from GitHub and the android-nn-driver should build correctly. Alternatively you can go to the GitHub pages for android-nn-driver, armnn and computelibrary (clframework) and download versions with the same release tag. + +For 19.08 these would be: + +https://github.com/ARM-software/android-nn-driver/tree/v19.08 +https://github.com/ARM-software/armnn/tree/v19.08 +https://github.com/ARM-software/computelibrary/tree/v19.08 + -- cgit v1.2.1