From: 이한종/동작제어Lab(SR)/Engineer/삼성전자 Date: Fri, 13 Jul 2018 07:10:57 +0000 (+0900) Subject: [newrt] Require ARMCompute for build (#1949) X-Git-Tag: 0.2~456 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4f388cbae8e2903cf403770a55110a0a52c6ec9;p=platform%2Fcore%2Fml%2Fnnfw.git [newrt] Require ARMCompute for build (#1949) 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 --- diff --git a/runtimes/new_runtime/CMakeLists.txt b/runtimes/new_runtime/CMakeLists.txt index a8ab694..223eb04 100644 --- a/runtimes/new_runtime/CMakeLists.txt +++ b/runtimes/new_runtime/CMakeLists.txt @@ -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