[newrt] Require ARMCompute for build (#1949)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Fri, 13 Jul 2018 07:10:57 +0000 (16:10 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Fri, 13 Jul 2018 07:10:57 +0000 (16:10 +0900)
Currently we depend on ARMCompute for abstract classes so we need it
always even we only want cpu kernels. However later we should remove
this requirement.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtimes/new_runtime/CMakeLists.txt

index a8ab694..223eb04 100644 (file)
@@ -1,5 +1,9 @@
 file(GLOB_RECURSE SOURCES "src/*.cc")
 
+# NOTE For now ARMCompute is necessary
+# TODO Remove required package below(should be optional)
+nnfw_find_package(ARMCompute REQUIRED)
+
 add_library(${LIB_NEW_RUNTIME} SHARED ${SOURCES})
 target_include_directories(${LIB_NEW_RUNTIME} PUBLIC ${NNFW_INCLUDE_DIR})
 target_include_directories(${LIB_NEW_RUNTIME} PUBLIC src