From: 오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 Date: Tue, 1 Oct 2019 10:26:37 +0000 (+0900) Subject: [nnfw-cmake] Remove runtime variable (#7881) X-Git-Tag: submit/tizen/20191205.083104~974 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c401d668c24bf5a8e3b373f7380580b19a601986;p=platform%2Fcore%2Fml%2Fnnfw.git [nnfw-cmake] Remove runtime variable (#7881) Remove unused runtime name variable Move set LIB_NEURUN variable Signed-off-by: Hyeongseok Oh --- diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt index 2f1a972..a303040 100644 --- a/runtimes/CMakeLists.txt +++ b/runtimes/CMakeLists.txt @@ -1,10 +1,8 @@ if(BUILD_NEURUN) - set(LIB_NEURUN neurun) add_subdirectory(neurun) endif(BUILD_NEURUN) if(BUILD_PURE_ARM_COMPUTE) - set(LIB_PUREACL_RUNTIME nnapi_pure_arm_compute) add_subdirectory(pure_arm_compute) endif() diff --git a/runtimes/neurun/frontend/nnapi/CMakeLists.txt b/runtimes/neurun/frontend/nnapi/CMakeLists.txt index bd58de9..2a98d76 100644 --- a/runtimes/neurun/frontend/nnapi/CMakeLists.txt +++ b/runtimes/neurun/frontend/nnapi/CMakeLists.txt @@ -2,6 +2,8 @@ file(GLOB_RECURSE SOURCES_FRONTEND "*.cc") file(GLOB_RECURSE TESTS_FRONTEND "*.test.cc") list(REMOVE_ITEM SOURCES_FRONTEND ${TESTS_FRONTEND}) +set(LIB_NEURUN neurun) + add_library(${LIB_NEURUN} SHARED ${SOURCES_FRONTEND}) target_link_libraries(${LIB_NEURUN} PUBLIC nnfw-header) target_link_libraries(${LIB_NEURUN} PUBLIC neurun_core) # TODO Link PRIVATE neurun_core