From 04a0da655f89e1c024cf16f31ab30176364c9362 Mon Sep 17 00:00:00 2001 From: John Mcloughlin Date: Mon, 19 Feb 2024 11:34:03 +0000 Subject: IVGCVSW-8183 Docker does not copy delegate includes to tar * Modified build-tool to copy opaque and classic delegate headers Signed-off-by: John Mcloughlin Change-Id: I445f708f8c58f0e38f96195802fd1d661dbe046c --- build-tool/scripts/build-armnn.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build-tool/scripts/build-armnn.sh b/build-tool/scripts/build-armnn.sh index c3bf2f5f43..b973a62a62 100755 --- a/build-tool/scripts/build-armnn.sh +++ b/build-tool/scripts/build-armnn.sh @@ -1,7 +1,7 @@ #!/bin/bash # -# Copyright © 2022-2023 Arm Ltd and Contributors. All rights reserved. +# Copyright © 2022-2024 Arm Ltd and Contributors. All rights reserved. # SPDX-License-Identifier: MIT # @@ -167,6 +167,13 @@ build_armnn() rm -rf include cp -r "$SOURCE_DIR"/armnn/include . + if [ "$flag_tflite_classic_delegate" -eq 1 ]; then + cp -r "$SOURCE_DIR"/armnn/delegate/classic/include ./delegate/classic/ + fi + if [ "$flag_tflite_opaque_delegate" -eq 1 ]; then + cp -r "$SOURCE_DIR"/armnn/delegate/opaque/include ./delegate/opaque/ + fi + echo -e "\n***** Built Arm NN for $TARGET_ARCH *****" local tarball_path="$ROOT_DIR/armnn_$ARMNN_BUILD_DIR_NAME.tar.gz" -- cgit v1.2.1