From: 박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 Date: Thu, 19 Apr 2018 08:33:51 +0000 (+0900) Subject: Separate ACL build type output folder (#803) X-Git-Tag: 0.1~175 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7958fc4c8a90d04c49f812ac4c506ae266a23121;p=platform%2Fcore%2Fml%2Fnnfw.git Separate ACL build type output folder (#803) This will use ACL build option `build_dir` to separate build type (debug,release) to have its own folder Signed-off-by: SaeHie Park --- diff --git a/Makefile b/Makefile index 067f8d2..bfa8268 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,11 @@ TIMESTAMP_INSTALL=$(WORKDIR)/INSTALL ACL_FOLDER=externals/acl ACL_COMMAND=scons Werror=1 neon=1 opencl=1 os=linux arch=armv7a examples=0 embed_kernels=1 ifeq ($(BUILD_TYPE_LC),debug) - ACL_COMMAND+=debug=1 asserts=1 + ACL_COMMAND+=debug=1 asserts=1 build_dir=debug + ACL_FOLDER_BUILD=$(ACL_FOLDER)/build/debug +else + ACL_COMMAND+=build_dir=release + ACL_FOLDER_BUILD=$(ACL_FOLDER)/build/release endif all: build @@ -124,9 +128,9 @@ internal_acl_build: internal_acl_install: @mkdir -vp $(INSTALL_PATH)/lib - @cp -v $(ACL_FOLDER)/build/libarm_compute_core.so $(INSTALL_PATH)/lib/. - @cp -v $(ACL_FOLDER)/build/libarm_compute_graph.so $(INSTALL_PATH)/lib/. - @cp -v $(ACL_FOLDER)/build/libarm_compute.so $(INSTALL_PATH)/lib/. + @cp -v $(ACL_FOLDER_BUILD)/libarm_compute_core.so $(INSTALL_PATH)/lib/. + @cp -v $(ACL_FOLDER_BUILD)/libarm_compute_graph.so $(INSTALL_PATH)/lib/. + @cp -v $(ACL_FOLDER_BUILD)/libarm_compute.so $(INSTALL_PATH)/lib/. external_acl: ifneq ($(EXT_ACL_FOLDER),"")