diff options
author | Colm Donelan <colm.donelan@arm.com> | 2022-10-10 10:06:12 +0100 |
---|---|---|
committer | Colm Donelan <colm.donelan@arm.com> | 2022-10-21 16:21:17 +0100 |
commit | 718966fea8863edb0f91218cb28aeb32d17cb9c7 (patch) | |
tree | 464f4cbc36cb689e14b0295b01e55a461a1a0c42 /src/armnnDeserializer | |
parent | 81b88a2abfcb3d5afd3ae49bfdb628df2fd9d3f9 (diff) | |
download | armnn-718966fea8863edb0f91218cb28aeb32d17cb9c7.tar.gz |
IVGCVSW-7126 Update Arm NN to Tensorflow 2.10
* Modify get_tensorflow.sh to point to the 2.10 Tensorflow tag.
* Modify FindTfLite.cmake to handle the break up of libruy.a
* Modify armnn_delegate.cpp to add registration_external field.
* Prevent the serializer/deserializer from using a system installed
version of flatc.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I688f33f387924ba29bf400f60e56f73b2329fdc1
Diffstat (limited to 'src/armnnDeserializer')
-rwxr-xr-x | src/armnnDeserializer/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/armnnDeserializer/CMakeLists.txt b/src/armnnDeserializer/CMakeLists.txt index 7ba83aae1e..630eb370df 100755 --- a/src/armnnDeserializer/CMakeLists.txt +++ b/src/armnnDeserializer/CMakeLists.txt @@ -3,11 +3,17 @@ # SPDX-License-Identifier: MIT # if(BUILD_ARMNN_DESERIALIZER) + # We're using NO_SYSTEM_ENVIRONMENT_PATH to prevent a system installed + # flatc being found and used. find_program(FLATC flatc HINTS ${FLATC_DIR} + NO_SYSTEM_ENVIRONMENT_PATH DOC "Path to 'flatc', the flatbuffers compiler") + if (NOT FLATC) message(SEND_ERROR "flatc not found. Specify the full path of the flatc executable with -DFLATC=<flatc path>") + else() + message("Using flatc was from: ${FLATC}") endif() add_custom_command( |