diff options
author | James Conroy <james.conroy@arm.com> | 2022-09-08 12:04:26 +0100 |
---|---|---|
committer | Colm Donelan <colm.donelan@arm.com> | 2022-09-22 15:37:48 +0000 |
commit | e6f30addfea477ab628cfa71cbd7a4044d515d30 (patch) | |
tree | 52777af648c538fe95b53a044c91b1dbf0cd5a66 /build-tool/scripts/setup-armnn.sh | |
parent | dcd2de8e15e0b07f9cd6d3ec00b12936ffc10470 (diff) | |
download | armnn-e6f30addfea477ab628cfa71cbd7a4044d515d30.tar.gz |
Remove aarch32 build from build-tool
* 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>
Diffstat (limited to 'build-tool/scripts/setup-armnn.sh')
-rwxr-xr-x | build-tool/scripts/setup-armnn.sh | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/build-tool/scripts/setup-armnn.sh b/build-tool/scripts/setup-armnn.sh index d6f6fce9db..b016b53bd0 100755 --- a/build-tool/scripts/setup-armnn.sh +++ b/build-tool/scripts/setup-armnn.sh @@ -56,9 +56,6 @@ build_protobuf() if [ "$TARGET_ARCH" == "aarch64" ]; then cmake_flags+="$AARCH64_COMPILER_FLAGS" additional_cmds+="--host=aarch64-linux " - elif [ "$TARGET_ARCH" == "aarch32" ]; then - cmake_flags+="$AARCH32_COMPILER_FLAGS" - additional_cmds+="--host=arm-linux " fi else target_arch="$HOST_ARCH" @@ -100,8 +97,6 @@ build_flatbuffers() mkdir -p "$FLATBUFFERS_BUILD_TARGET" if [ "$TARGET_ARCH" == "aarch64" ]; then cmake_flags+="$AARCH64_COMPILER_FLAGS" - elif [ "$TARGET_ARCH" == "aarch32" ]; then - cmake_flags+="$AARCH32_COMPILER_FLAGS" fi else target_arch="$HOST_ARCH" @@ -156,15 +151,6 @@ build_tflite() cmake_flags+="ARMCC_FLAGS='-funsafe-math-optimizations' " fi ;; - - "aarch32") - cmake_flags+="$AARCH32_COMPILER_FLAGS" - target_arch_cmd="-DCMAKE_SYSTEM_PROCESSOR=armv7 " - - if [ "$NATIVE_BUILD" -eq 0 ]; then - cmake_flags+="ARMCC_FLAGS='-march=armv7-a -mfpu=neon-vfpv4 -funsafe-math-optimizations -mfp16-format=ieee' " - fi - ;; esac echo -e "\n***** Building TF Lite for $TARGET_ARCH *****" @@ -233,7 +219,7 @@ setup-armnn.sh [OPTION]... setup dependencies for the Arm NN ONNX parser --all setup dependencies for all Arm NN components listed above - --target-arch=[aarch64|aarch32|x86_64] + --target-arch=[aarch64|x86_64] specify a target architecture (mandatory) --num-threads=<INTEGER> specify number of threads/cores to build dependencies with (optional: defaults to number of online CPU cores on host) @@ -251,8 +237,6 @@ Setup for aarch64 with all Arm NN dependencies: <PATH_TO>/setup-armnn.sh --target-arch=aarch64 --all Setup for aarch64 with TF Lite Delegate and TF Lite Parser dependencies only: <PATH_TO>/setup-armnn.sh --target-arch=aarch64 --tflite-delegate --tflite-parser -Setup for aarch32 with all Arm NN dependencies: - <PATH_TO>/setup-armnn.sh --target-arch=aarch32 --all EOF } |