diff options
author | Finn Williams <Finn.Williams@arm.com> | 2020-11-25 14:32:42 +0000 |
---|---|---|
committer | finn.williams <finn.williams@arm.com> | 2020-11-30 17:00:41 +0000 |
commit | bbbefecd34a9420bcb003dd230402c55ee5150d5 (patch) | |
tree | a2a75780106abfa81e14d6e11f568e395bcb67de /delegate/cmake/Modules/FindTensorflow.cmake | |
parent | 31c39be002b9e9040b2306e2461ee228853b4ed6 (diff) | |
download | armnn-bbbefecd34a9420bcb003dd230402c55ee5150d5.tar.gz |
IVGCVSW-5587 Remove Tensorflow requirement from Arm NN TfLite delegate
* Added support for building the delegate with an external armnn path
* Replaced potentially troublesome package manager
* Explicitly set the privacy levels of delegate libraries
* Fixed some error handling in ExecuteNetwork
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I2a7abc099796012cbb043c5b319f81778c9f3b56
Diffstat (limited to 'delegate/cmake/Modules/FindTensorflow.cmake')
-rw-r--r-- | delegate/cmake/Modules/FindTensorflow.cmake | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/delegate/cmake/Modules/FindTensorflow.cmake b/delegate/cmake/Modules/FindTensorflow.cmake deleted file mode 100644 index 8f90011a65..0000000000 --- a/delegate/cmake/Modules/FindTensorflow.cmake +++ /dev/null @@ -1,30 +0,0 @@ -# -# Copyright © 2020 Arm Ltd and Contributors. All rights reserved. -# SPDX-License-Identifier: MIT -# - -include(FindPackageHandleStandardArgs) -unset(TENSORFLOW_FOUND) - -find_path(Tensorflow_INCLUDE_DIR - NAMES - tensorflow/core - tensorflow/cc - third_party - HINTS - ${TENSORFLOW_ROOT}) - -find_library(Tensorflow_LIB - NAMES - tensorflow_all - HINTS - ${TENSORFLOW_LIB_DIR}) - -## Set TENSORFLOW_FOUND -find_package_handle_standard_args(Tensorflow DEFAULT_MSG Tensorflow_INCLUDE_DIR Tensorflow_LIB) - -## Set external variables for usage in CMakeLists.txt -if(TENSORFLOW_FOUND) - set(Tensorflow_LIB ${Tensorflow_LIB}) - set(Tensorflow_INCLUDE_DIRS ${Tensorflow_INCLUDE_DIR}) -endif()
\ No newline at end of file |