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
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),"")