aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sloyan <matthew.sloyan@arm.com>2021-01-13 14:30:19 +0000
committerMatthew Sloyan <matthew.sloyan@arm.com>2021-01-13 14:55:07 +0000
commitfc3efb318f7607e5ac815665e3f28ce3e465cfb5 (patch)
treeef319cecef0a41f9d24b3ad63c4f7aa0cb182524
parent4cf0fe385b934de95c022cae4a2c400d0d52377d (diff)
downloadarmnn-fc3efb318f7607e5ac815665e3f28ce3e465cfb5.tar.gz
IVGCVSW-5483 Fix cache loaded network nightly failure
* Fixed issue where nightly job couldn't find flatbuffers import. * Removed unnecessary commented code. Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: If201f3fe54bf3bdd167aaf5d108154165d2a910d
-rw-r--r--src/backends/cl/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backends/cl/CMakeLists.txt b/src/backends/cl/CMakeLists.txt
index bfb99dde96..60cdaa314d 100644
--- a/src/backends/cl/CMakeLists.txt
+++ b/src/backends/cl/CMakeLists.txt
@@ -15,8 +15,6 @@ if(ARMCOMPUTECL)
# Generate an ClContextSchema_generated.h file if it doesn't exist, or update it when necessary otherwise
OUTPUT ClContextSchema_generated.h DEPENDS ClContextSchema.fbs
COMMAND ${FLATC} -o ${CMAKE_CURRENT_BINARY_DIR} --cpp ${CMAKE_CURRENT_SOURCE_DIR}/ClContextSchema.fbs
- #COMMAND cp ${CMAKE_CURRENT_BINARY_DIR}/ClContextSchema_generated.h
- # ${CMAKE_CURRENT_SOURCE_DIR}/ClContextSchema_generated.h
)
list(APPEND armnnClBackend_sources
@@ -52,6 +50,8 @@ if(ARMCOMPUTECL)
add_subdirectory(test)
endif()
+ include_directories(SYSTEM "${FLATBUFFERS_INCLUDE_PATH}")
+
else()
list(APPEND armnnClBackend_sources
ClBackendId.hpp