aboutsummaryrefslogtreecommitdiff
path: root/build-tool
AgeCommit message (Collapse)Author
2023-03-28IVGCVSW-7555 Restructure DelegateTeresa Charlin
* New folders created: * common is for common code where TfLite API is not used * classic is for existing delegate implementations * opaque is for new opaque delegate implementation, * tests is for shared between existing Delegate and Opaque Delegate which have test utils to work which delegate to use. * Existing delegate is built to libarmnnDelegate.so and opaque delegate is built as libarmnnOpaqueDelegate.so * Opaque structure is introduced but no API is added yet. * CmakeList.txt and delegate/CMakeList.txt have been modified and 2 new CmakeList.txt added * Rename BUILD_ARMNN_TFLITE_DELEGATE as BUILD_CLASSIC_DELEGATE * Rename BUILD_ARMNN_TFLITE_OPAQUE_DELEGATE as BUILD_OPAQUE_DELEGATE Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ib682b9ad0ac8d8acdc4ec6d9099bb0008a9fe8ed
2022-12-16IVGCVSW-7379 Add xxd package to build toolKevin May
Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I5ac1f1032cc2507ce0b8677a08e9debefab2779c
2022-12-07Add Arm NN include in build-tool outputJames Conroy
* Usability improvement Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I973e2c29e5974db9f2da04e39b549ecb1b12cb48
2022-11-18IVGCVSW-7330 Fix build-tool args for Docker buildsJames Conroy
* This change requests users to supply a comma separated string of CMake/scons args so that they can passed down from Docker into the bash script correctly. * Updated documentation to reflect this. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: Icbd1d1458e11382936690ca6cc4417677e063ddb
2022-11-02Fix TF Lite cross compile for build-toolJames Conroy
* Build Flatc only on x86_64 when cross compiling * Add Linux CMAKE System name Signed-off-by: Ryan OShea <ryan.oshea3@arm.com> Change-Id: Ibd0f636b3cc149e0492d66330baf0e3707a9d3f7
2022-10-24IVGCVSW-7126 Upgrade build-tool TensorFlow/FlatbuffersJames Conroy
* Upgrade FlatBuffers to 2.0.6. * Upgrade TensorFlow to 2.10.0. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I537141ccfea208e2ff5c16d76f288f477efd89f9
2022-10-24Make it optional to provide custom ACL to build-toolJames Conroy
* 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
2022-09-22Remove aarch32 build from build-toolJames Conroy
* Removing support for aarch32 builds from the build-tool as Arm NN is dropping support for this target architecture. * Fixed missing additional ACL scons params in ACL build. Change-Id: Ib18b3286ce18d169ce8d8af2bd9b5d54f110eb3b Signed-off-by: James Conroy <james.conroy@arm.com>
2022-08-29IVGCVSW-6779 Add build-tool Docs and update docsJames Conroy
* Added Arm NN Build Tool README.md and license. * Added Dockerfile diagram image and license. * Updated existing guides: added note to the cross compile guide to use build-tool, removed content from the Delegate BuildGuideNative.md. * Added Arm NN logo image to homepage README.md and added license. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I9306ad24165cf3b0203c2a1852ec3afd718e9eab
2022-08-05IVGCVSW-6777 Add Arm NN build-tool DockerfileJames Conroy
* Adds Dockerfile associated with Arm NN build-tool scripts. * The Dockerfile encapsulates the installation of system-wide packages (install-packages.sh), download/install of Arm NN dependencies (setup-armnn.sh) and the building of Arm NN and ACL (build-armnn.sh). * A helper script for copying build contents from the built Docker image is provided for by docker-copy-to-host.sh. * Modified existing scripts: moved the cloning of Arm NN and ACL from setup-armnn.sh to build-armnn.sh and decoupled setup-armnn.sh from scripts outside of build-tool directory e.g. armnn/scripts/get_tensorflow.sh. * The build-armnn.sh script clones the latest release branches of Arm NN and ACL by default. Custom repos can be placed in the build-tool directory prior to 'docker build' and they will be used instead (advanced usage). * Support added for Linux targets only, Android to be added in future work. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I336013cf93821d2cd3e5d9fe2ca4e955ffdd2386
2022-07-27IVGCVSW-6776 Add Arm NN build-tool scriptsJames Conroy
* Initial scripts which download and build Arm NN dependencies (setup-armnn.sh) and build both Arm NN and ACL (build-armnn.sh). * Also added common.sh for handling common variables between scripts and validation.sh for common command line arg validation. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I6a61149d048f618b4cc9770cc9dd6ec2e5f64ea5