aboutsummaryrefslogtreecommitdiff
path: root/build-tool/docker
diff options
context:
space:
mode:
authorJames Conroy <james.conroy@arm.com>2022-09-22 16:40:00 +0100
committerJames Conroy <james.conroy@arm.com>2022-10-24 11:03:48 +0000
commitc4fbbec63979d99d6cc722aa848896880cc266ec (patch)
treeb10481770dc14ce763b70f36c3a98eadb55a4696 /build-tool/docker
parent88b902543ded6cf991fee3776f22040240683df4 (diff)
downloadarmnn-c4fbbec63979d99d6cc722aa848896880cc266ec.tar.gz
Make it optional to provide custom ACL to build-tool
* Currently, the build-tool requires the user provide both Arm NN and ACL repos, if providing custom repos. * This change allows the user to provide only a custom Arm NN repo, making a custom ACL optional in the case of --neon-backend or --cl-backend not being chosen in BUILD_ARGS. * Updated script help/usage and docs to reflect this. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I821f07dcd4c32ada60cd33713234b47c330d217e
Diffstat (limited to 'build-tool/docker')
-rw-r--r--build-tool/docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-tool/docker/Dockerfile b/build-tool/docker/Dockerfile
index d1f212c684..21020545f1 100644
--- a/build-tool/docker/Dockerfile
+++ b/build-tool/docker/Dockerfile
@@ -62,7 +62,8 @@ FROM build-production as build-dev
RUN mkdir -p source/armnn source/acl
# Copy custom armnn/acl source repos from the build-tool directory on the host, if they exist (optional)
-# If repos not provided, the build-armnn.sh script will automatically download the latest release branches of Arm NN and ACL
+# The 'acl' repo must be provided if --neon-backend or --cl-backend is given in the BUILD_ARGS, otherwise only custom "armnn" is required
+# If custom repos not provided, the build-armnn.sh script will automatically download the latest release branches of Arm NN and ACL
# Copies Dockerfile to ensure COPY works - at least one file must exist for COPY to work
COPY --chown=arm-user:arm-user ./docker/Dockerfile ./armnn* ./source/armnn/
COPY --chown=arm-user:arm-user ./docker/Dockerfile ./acl* ./source/acl/