aboutsummaryrefslogtreecommitdiff
path: root/build-tool/scripts
AgeCommit message (Collapse)Author
2024-03-14MLCE-1229 Partial revert of commit: keep .so files under ./delegate directory.Cathal Corbett
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I2ceba9d052aae32aa490cee66a78dcd72865b03c
2024-03-13Enable build of execute network in build tool.Cathal Corbett
* Help with issue https://github.com/ARM-software/armnn/issues/758 Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: Ic9f4ff54e1e5a26b16c3d869815d09036ce5806c
2024-03-11MLCE-1229 ArmNN build tool script update for delegate header and so files.Cathal Corbett
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I5366d7cf6b427227180dae5716aa4efe59360377
2024-02-28IVGCVSW-8172 Add macOS support to build tool setupTracy Narine
* Updates build rules for platform * Failing unit tests excluded (dynamic backends, profiling) * install-packages.sh generates manual setup information Signed-off-by: Tracy Narine <tracy.narine@arm.com> Change-Id: I2d3d434aa615a8796c0cb94cd5b9c35a5acfd148
2024-02-25IVGCVSW-7638 Update Build Tool to use the armnn that it is contained inTracy Narine
* Added a flag to sym link the source instead of making a git clone Signed-off-by: Tracy Narine <tracy.narine@arm.com> Change-Id: I9f4cde8528f250e946fcbf00921f28eb62bbaa31
2024-02-22IVGCVSW-8228 build-tool does not setup flatbuffer library if building only ↵Tracy Narine
the onnx-parser * flatbuffer download and build now triggered by onnx_parser parameter Signed-off-by: Tracy Narine <tracy.narine@arm.com> Change-Id: I3fc55df5f97b10d44e4b7042b05e4cd7c5a92d71
2024-02-19IVGCVSW-8183 Docker does not copy delegate includes to tarJohn Mcloughlin
* Modified build-tool to copy opaque and classic delegate headers Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com> Change-Id: I445f708f8c58f0e38f96195802fd1d661dbe046c
2024-01-18IVGCVSW-8200 Update Build Tool to TF v2.15Declan-ARM
* Tag updated from v2.14 to v2.15 in common build-tool script Signed-off-by: Declan-ARM <decmce01@arm.com> Change-Id: Ib216d242a75f66429b3db0f59555e2f2f95cc0dd Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
2023-12-22IVGCVSW-8178 Update build tool with Android ndk r26Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I86deb3bb2a587e59f10cfc3efce7118c2156c169
2023-12-04IVGCVSW-8168 Fix errors while using build tool for android targetNikhil Raj
* Add Android compiler flag * Install llvm package for docker compilation Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I9054b64e372fe9d9181d9b2321be86b3f3d95267
2023-11-20Remove Android 10 testing warning from readme and update buildtoolNikhil Raj
* Removes warning we had given to users last release about Android 10 (Q) testing * Reverts the patch where we were checking out main branch of Arm NN instead of latest release branch in Buildtool * Updated Android API level in the bianry table in readme Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I1e497b7d0ecf8fa7d9dd7262ca740052c0db444e
2023-09-29IVGCVSW-7954 Upgrade ArmNN to TensorFlow v2.14.0 from v2.14.0-rc1Idriss Chaouch
* Update get_tensorflow.sh to TensorFlow v2.14.0 * Update BuildTool to use TF v2.14.0 * Update TensorFlow version on ArmNN guides Signed-off-by: Idriss Chaouch <idriss.chaouch@arm.com> Change-Id: I52cf85f93a72f4881333e44509a1889938253803
2023-09-22IVGCVSW-8054 Update BuildTool to use TF2.14Ciara Sookarry
* Update TF to 2.14 * Update Flatbuffers to 23.5.26 * BuildTool now clones ArmNN main branch instead of latest release Signed-off-by: Ciara Sookarry <ciara.sookarry@arm.com> Change-Id: I9c4e19655dce14ee817fb670f4ee9b5174eb4dcc
2023-07-27IVGCVSW-7202 Add Android NDK build targets to build-toolJohn Mcloughlin
* Changed build tool scripts to also target Android OS * Updated Dockerfile to Ubuntu 20.04 Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com> Change-Id: I6905c205d8870e1628e4885743d9131cb1f11276
2023-05-04Add tflite-opaque-delegate flag in build-tool validation scriptNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I402a4c74610b5dc8a3ca6e22218b58fbe59474ed
2023-05-03Fix bug in the build-armnn.sh in build toolNikhil Raj
* flag should be flag_tflite_classic_delegate instead of flag_tflite_delegate Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I4c1f6406d88ee91c032f8edcf1196f2e8e8bcb92
2023-05-02IVGCVSW-7536 Update Build Tool for Opaque DelegateNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Iaf3f1b5e4e41d0d946a21504c6d44e47d83273e0
2023-04-27IVGCVSW-7687 Update TF SHA in build-toolNikhil Raj
* Updating TF to the 2.12 SHA Arm NN will be using * Turn Off JNI build Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ib75e16687ac3a2dd4a77ed68f97bf14fdd86eec0
2023-04-20IVGCVSW-7687 Adding Tf 2.12 build flags to build-tool.Colm Donelan
Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: I637fb48e5ae0e2bc90c2900b5b35860e0fbcfb25
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-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