From 718966fea8863edb0f91218cb28aeb32d17cb9c7 Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Mon, 10 Oct 2022 10:06:12 +0100 Subject: 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 Change-Id: I688f33f387924ba29bf400f60e56f73b2329fdc1 --- src/armnnDeserializer/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/armnnDeserializer') 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=") + else() + message("Using flatc was from: ${FLATC}") endif() add_custom_command( -- cgit v1.2.1