Relocate angkor library (#3097)
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 19 Mar 2019 08:06:13 +0000 (17:06 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 19 Mar 2019 08:06:13 +0000 (17:06 +0900)
Let's put angkor header and implementation under contrib/angkor!

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
73 files changed:
contrib/angkor/CMakeLists.txt
contrib/angkor/include/nncc/core/ADT/Iterable.h [moved from libs/core/include/nncc/core/ADT/Iterable.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/feature/Accessor.h [moved from libs/core/include/nncc/core/ADT/feature/Accessor.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/feature/Buffer.h [moved from libs/core/include/nncc/core/ADT/feature/Buffer.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/feature/CHWLayout.h [moved from libs/core/include/nncc/core/ADT/feature/CHWLayout.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/feature/HWCLayout.h [moved from libs/core/include/nncc/core/ADT/feature/HWCLayout.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/feature/Layout.h [moved from libs/core/include/nncc/core/ADT/feature/Layout.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/feature/Overlay.h [moved from libs/core/include/nncc/core/ADT/feature/Overlay.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/feature/Reader.h [moved from libs/core/include/nncc/core/ADT/feature/Reader.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/feature/Shape.h [moved from libs/core/include/nncc/core/ADT/feature/Shape.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/feature/View.h [moved from libs/core/include/nncc/core/ADT/feature/View.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/kernel/Accessor.h [moved from libs/core/include/nncc/core/ADT/kernel/Accessor.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/kernel/Buffer.h [moved from libs/core/include/nncc/core/ADT/kernel/Buffer.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/kernel/IndexEnumerator.h [moved from libs/core/include/nncc/core/ADT/kernel/IndexEnumerator.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/kernel/Layout.h [moved from libs/core/include/nncc/core/ADT/kernel/Layout.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/kernel/NCHWLayout.h [moved from libs/core/include/nncc/core/ADT/kernel/NCHWLayout.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/kernel/NHWCLayout.h [moved from libs/core/include/nncc/core/ADT/kernel/NHWCLayout.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/kernel/Overlay.h [moved from libs/core/include/nncc/core/ADT/kernel/Overlay.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/kernel/Reader.h [moved from libs/core/include/nncc/core/ADT/kernel/Reader.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/kernel/Shape.h [moved from libs/core/include/nncc/core/ADT/kernel/Shape.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/kernel/View.h [moved from libs/core/include/nncc/core/ADT/kernel/View.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/kernel/ViewImpl.h [moved from libs/core/include/nncc/core/ADT/kernel/ViewImpl.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/tensor/Accessor.h [moved from libs/core/include/nncc/core/ADT/tensor/Accessor.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/tensor/Buffer.h [moved from libs/core/include/nncc/core/ADT/tensor/Buffer.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/tensor/Index.h [moved from libs/core/include/nncc/core/ADT/tensor/Index.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/tensor/IndexEnumerator.h [moved from libs/core/include/nncc/core/ADT/tensor/IndexEnumerator.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/tensor/IndexRange.h [moved from libs/core/include/nncc/core/ADT/tensor/IndexRange.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/tensor/Layout.h [moved from libs/core/include/nncc/core/ADT/tensor/Layout.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/tensor/LexicalLayout.h [moved from libs/core/include/nncc/core/ADT/tensor/LexicalLayout.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/tensor/Overlay.h [moved from libs/core/include/nncc/core/ADT/tensor/Overlay.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/tensor/Reader.h [moved from libs/core/include/nncc/core/ADT/tensor/Reader.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/tensor/Shape.h [moved from libs/core/include/nncc/core/ADT/tensor/Shape.h with 100% similarity]
contrib/angkor/include/nncc/core/ADT/tensor/View.h [moved from libs/core/include/nncc/core/ADT/tensor/View.h with 100% similarity]
contrib/angkor/src/ADT/feature/Accessor.cpp [moved from libs/core/src/ADT/feature/Accessor.cpp with 100% similarity]
contrib/angkor/src/ADT/feature/Buffer.test.cpp [moved from libs/core/src/ADT/feature/Buffer.test.cpp with 100% similarity]
contrib/angkor/src/ADT/feature/CHWLayout.cpp [moved from libs/core/src/ADT/feature/CHWLayout.cpp with 100% similarity]
contrib/angkor/src/ADT/feature/CHWLayout.test.cpp [moved from libs/core/src/ADT/feature/CHWLayout.test.cpp with 100% similarity]
contrib/angkor/src/ADT/feature/HWCLayout.cpp [moved from libs/core/src/ADT/feature/HWCLayout.cpp with 100% similarity]
contrib/angkor/src/ADT/feature/HWCLayout.test.cpp [moved from libs/core/src/ADT/feature/HWCLayout.test.cpp with 100% similarity]
contrib/angkor/src/ADT/feature/Layout.cpp [moved from libs/core/src/ADT/feature/Layout.cpp with 100% similarity]
contrib/angkor/src/ADT/feature/Layout.test.cpp [moved from libs/core/src/ADT/feature/Layout.test.cpp with 100% similarity]
contrib/angkor/src/ADT/feature/Overlay.test.cpp [moved from libs/core/src/ADT/feature/Overlay.test.cpp with 100% similarity]
contrib/angkor/src/ADT/feature/Reader.cpp [moved from libs/core/src/ADT/feature/Reader.cpp with 100% similarity]
contrib/angkor/src/ADT/feature/Shape.test.cpp [moved from libs/core/src/ADT/feature/Shape.test.cpp with 100% similarity]
contrib/angkor/src/ADT/kernel/Buffer.test.cpp [moved from libs/core/src/ADT/kernel/Buffer.test.cpp with 100% similarity]
contrib/angkor/src/ADT/kernel/IndexEnumerator.cpp [moved from libs/core/src/ADT/kernel/IndexEnumerator.cpp with 100% similarity]
contrib/angkor/src/ADT/kernel/IndexEnumerator.test.cpp [moved from libs/core/src/ADT/kernel/IndexEnumerator.test.cpp with 100% similarity]
contrib/angkor/src/ADT/kernel/Layout.cpp [moved from libs/core/src/ADT/kernel/Layout.cpp with 100% similarity]
contrib/angkor/src/ADT/kernel/Layout.test.cpp [moved from libs/core/src/ADT/kernel/Layout.test.cpp with 100% similarity]
contrib/angkor/src/ADT/kernel/NCHWLayout.cpp [moved from libs/core/src/ADT/kernel/NCHWLayout.cpp with 100% similarity]
contrib/angkor/src/ADT/kernel/NCHWLayout.test.cpp [moved from libs/core/src/ADT/kernel/NCHWLayout.test.cpp with 100% similarity]
contrib/angkor/src/ADT/kernel/NHWCLayout.cpp [moved from libs/core/src/ADT/kernel/NHWCLayout.cpp with 100% similarity]
contrib/angkor/src/ADT/kernel/NHWCLayout.test.cpp [moved from libs/core/src/ADT/kernel/NHWCLayout.test.cpp with 100% similarity]
contrib/angkor/src/ADT/kernel/Overlay.test.cpp [moved from libs/core/src/ADT/kernel/Overlay.test.cpp with 100% similarity]
contrib/angkor/src/ADT/kernel/Reader.cpp [moved from libs/core/src/ADT/kernel/Reader.cpp with 100% similarity]
contrib/angkor/src/ADT/kernel/Shape.cpp [moved from libs/core/src/ADT/kernel/Shape.cpp with 100% similarity]
contrib/angkor/src/ADT/kernel/Shape.test.cpp [moved from libs/core/src/ADT/kernel/Shape.test.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/Buffer.test.cpp [moved from libs/core/src/ADT/tensor/Buffer.test.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/Index.cpp [moved from libs/core/src/ADT/tensor/Index.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/Index.test.cpp [moved from libs/core/src/ADT/tensor/Index.test.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/IndexEnumerator.cpp [moved from libs/core/src/ADT/tensor/IndexEnumerator.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/IndexEnumerator.test.cpp [moved from libs/core/src/ADT/tensor/IndexEnumerator.test.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/IndexRange.cpp [moved from libs/core/src/ADT/tensor/IndexRange.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/IndexRange.test.cpp [moved from libs/core/src/ADT/tensor/IndexRange.test.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/Layout.cpp [moved from libs/core/src/ADT/tensor/Layout.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/Layout.test.cpp [moved from libs/core/src/ADT/tensor/Layout.test.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/LexicalLayout.cpp [moved from libs/core/src/ADT/tensor/LexicalLayout.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/LexicalLayout.test.cpp [moved from libs/core/src/ADT/tensor/LexicalLayout.test.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/Overlay.test.cpp [moved from libs/core/src/ADT/tensor/Overlay.test.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/Reader.cpp [moved from libs/core/src/ADT/tensor/Reader.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/Shape.cpp [moved from libs/core/src/ADT/tensor/Shape.cpp with 100% similarity]
contrib/angkor/src/ADT/tensor/Shape.test.cpp [moved from libs/core/src/ADT/tensor/Shape.test.cpp with 100% similarity]
libs/core/CMakeLists.txt [deleted file]

index 33aa5fa..c67aab2 100644 (file)
@@ -1 +1,16 @@
+file(GLOB_RECURSE HEADERS "include/*.h")
+file(GLOB_RECURSE SOURCES "src/*.cpp")
+file(GLOB_RECURSE TESTS "src/*.test.cpp")
+list(REMOVE_ITEM SOURCES ${TESTS})
+
+# NOTE STATIC is deliberately used here to allow clients to use 'nncc_core' without installation
+# TODO Remove nncc_core target
+add_nncc_library(nncc_core STATIC ${HEADERS} ${SOURCES})
+set_target_properties(nncc_core PROPERTIES POSITION_INDEPENDENT_CODE ON)
+set_target_properties(nncc_core PROPERTIES LINKER_LANGUAGE CXX)
+target_include_directories(nncc_core PUBLIC include)
+
+add_nncc_test(nncc_core_test ${TESTS})
+nncc_target_link_libraries(nncc_core_test nncc_core)
+
 add_library(angkor ALIAS nncc_core)
diff --git a/libs/core/CMakeLists.txt b/libs/core/CMakeLists.txt
deleted file mode 100644 (file)
index 532f9be..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-file(GLOB_RECURSE HEADERS "include/*.h")
-file(GLOB_RECURSE SOURCES "src/*.cpp")
-file(GLOB_RECURSE TESTS "src/*.test.cpp")
-list(REMOVE_ITEM SOURCES ${TESTS})
-
-# NOTE STATIC is deliberately used here to allow clients to use 'nncc_core' without installation
-add_nncc_library(nncc_core STATIC ${HEADERS} ${SOURCES})
-set_target_properties(nncc_core PROPERTIES POSITION_INDEPENDENT_CODE ON)
-set_target_properties(nncc_core PROPERTIES LINKER_LANGUAGE CXX)
-target_include_directories(nncc_core PUBLIC include)
-
-add_nncc_test(nncc_core_test ${TESTS})
-nncc_target_link_libraries(nncc_core_test nncc_core)