[neurun] Do not compile cpu backend from runtime (#2080)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Wed, 25 Jul 2018 09:36:24 +0000 (18:36 +0900)
committer이춘석/동작제어Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com>
Wed, 25 Jul 2018 09:36:24 +0000 (18:36 +0900)
Do not compile cpu backend sources when building runtime.
These sources was supposed to be excluded when cpu backend is built
separately but it wasn't yet.

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

index 8fbdec4..2fb4a0c 100644 (file)
@@ -11,10 +11,7 @@ file(GLOB SOURCES "src/*.cc")
 file(GLOB_RECURSE SOURCES_INTERNAL "src/internal/*.cc")
 file(GLOB_RECURSE SOURCES_KERNEL "src/kernel/*.cc") # TODO should be built as a separate lib
 
-# TODO This must be built separately, just like "backend/cpu"
-file(GLOB_RECURSE SOURCES_BACKEND_ACL "src/backend/acl_cl/*.cc")
-
-set(SOURCES ${SOURCES} ${SOURCES_INTERNAL} ${SOURCES_BACKEND_ACL} ${SOURCES_KERNEL})
+set(SOURCES ${SOURCES} ${SOURCES_INTERNAL} ${SOURCES_KERNEL})
 
 # NOTE For now ARMCompute is necessary
 # TODO Remove required package below(should be optional)