diff options
author | John Mcloughlin <john.mcloughlin@arm.com> | 2024-02-19 11:34:03 +0000 |
---|---|---|
committer | John Mcloughlin <john.mcloughlin@arm.com> | 2024-02-19 11:34:03 +0000 |
commit | 04a0da655f89e1c024cf16f31ab30176364c9362 (patch) | |
tree | fb05c53173243b567cc053c4ec98bb145a93ae41 | |
parent | 435267ff6a990e51d635ee964d3121ed610bc6dd (diff) | |
download | armnn-04a0da655f89e1c024cf16f31ab30176364c9362.tar.gz |
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 <john.mcloughlin@arm.com>
Change-Id: I445f708f8c58f0e38f96195802fd1d661dbe046c
-rwxr-xr-x | build-tool/scripts/build-armnn.sh | 9 |
1 files changed, 8 insertions, 1 deletions
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" |