This is an automated email from the ASF dual-hosted git repository.
mbrookhart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 41b4872 [BYOC][NNAPI]: Add testing package to ci_cpu image (#8088)
41b4872 is described below
commit 41b487220f966faebdfc22831d428e932765dbae
Author: Melson Lai <[email protected]>
AuthorDate: Wed Jun 23 04:35:02 2021 +0800
[BYOC][NNAPI]: Add testing package to ci_cpu image (#8088)
This commit adds Android SDK to the ci_cpu image for supporting tests of
Android NNAPI BYOC.
---
docker/Dockerfile.ci_cpu | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/docker/Dockerfile.ci_cpu b/docker/Dockerfile.ci_cpu
index 4c6a05c..7b511de 100644
--- a/docker/Dockerfile.ci_cpu
+++ b/docker/Dockerfile.ci_cpu
@@ -102,3 +102,10 @@ RUN bash /install/ubuntu_install_ethosn_driver_stack.sh
# Vitis-AI PyXIR CI deps
COPY install/ubuntu_install_vitis_ai_packages_ci.sh
/install/ubuntu_install_vitis_ai_packages_ci.sh
RUN bash /install/ubuntu_install_vitis_ai_packages_ci.sh
+
+# Android SDK
+COPY install/ubuntu_install_androidsdk.sh /install/ubuntu_install_androidsdk.sh
+RUN bash /install/ubuntu_install_androidsdk.sh
+ENV ANDROID_HOME=/opt/android-sdk-linux/
+ENV ANDROID_NDK_HOME=/opt/android-sdk-linux/ndk/21.3.6528147/
+