aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikhil Raj <nikhil.raj@arm.com>2020-11-04 10:28:43 +0000
committerNikhil Raj <nikhil.raj@arm.com>2021-01-28 16:38:54 +0000
commit21469d2498017241d4caac4097479e249d78bf5d (patch)
tree9f9d49f2108fedd26db1bda7bde62e9338cfde48
parent01824732d0d275b98e32c90ff5d614dd5905f206 (diff)
downloadandroid-nn-driver-21469d2498017241d4caac4097479e249d78bf5d.tar.gz
IVGCVSW-5487 Update setup and Android.bp files to build v8.2a driver
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I6c068d50f4d6ccc063b64806d47dd72a81514701
-rwxr-xr-xsetup.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/setup.sh b/setup.sh
index 3ce0ed5..b6508a4 100755
--- a/setup.sh
+++ b/setup.sh
@@ -59,8 +59,13 @@ fi
# This is required for the Android build system to build clframework (see below)
pushd clframework
scons os=android build=embed_only neon=0 opencl=1 embed_kernels=1 validation_tests=0 \
+ arch=arm64-v8.2-a build_dir=android-arm64v8.2-a benchmark_tests=0 -j16 \
+ build/android-arm64v8.2-a/src/core/arm_compute_version.embed build/android-arm64v8.2-a/src/core/CL/cl_kernels
+AssertZeroExitCode "Precompiling clframework failed for v82.a"
+
+scons os=android build=embed_only neon=0 opencl=1 embed_kernels=1 validation_tests=0 \
arch=arm64-v8a build_dir=android-arm64v8a benchmark_tests=0 -j16 \
build/android-arm64v8a/src/core/arm_compute_version.embed build/android-arm64v8a/src/core/CL/cl_kernels
-AssertZeroExitCode "Precompiling clframework failed"
+AssertZeroExitCode "Precompiling clframework failed for v8a."
popd