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
diff --git a/src/armnnSerializer/CMakeLists.txt b/src/armnnSerializer/CMakeLists.txt
index 919a68b..b7e65ad 100755
--- a/src/armnnSerializer/CMakeLists.txt
+++ b/src/armnnSerializer/CMakeLists.txt
@@ -3,11 +3,17 @@
# SPDX-License-Identifier: MIT
#
if(BUILD_ARMNN_SERIALIZER)
+ # 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(