LOCAL_PATH := $(call my-dir) local_lib_src_files := engine/host_cpu_engine.cc \ ops_kernel_store/host_cpu_ops_kernel_info.cc \ ops_kernel_store/op/op_factory.cc \ ops_kernel_store/op/host_op.cc \ local_lib_inc_path := proto/task.proto \ ${LOCAL_PATH} \ ${TOPDIR}inc \ ${TOPDIR}metadef/inc \ ${TOPDIR}graphengine/inc \ ${TOPDIR}inc/external \ ${TOPDIR}metadef/inc/external \ ${TOPDIR}graphengine/inc/external \ ${TOPDIR}metadef/inc/external/graph \ $(TOPDIR)libc_sec/include \ ${TOPDIR}third_party/protobuf/include \ ${TOPDIR}graphengine/inc/framework \ $(TOPDIR)graphengine/ge \ #compiler for host include $(CLEAR_VARS) LOCAL_MODULE := libhost_cpu_engine LOCAL_CFLAGS += -Werror LOCAL_CFLAGS += -std=c++11 -Dgoogle=ascend_private LOCAL_LDFLAGS := LOCAL_STATIC_LIBRARIES := LOCAL_SHARED_LIBRARIES := libascend_protobuf \ libc_sec \ libslog \ libgraph \ libregister \ libruntime LOCAL_SRC_FILES := $(local_lib_src_files) LOCAL_C_INCLUDES := $(local_lib_inc_path) include ${BUILD_HOST_SHARED_LIBRARY} #compiler for atc include $(CLEAR_VARS) LOCAL_MODULE := atclib/libhost_cpu_engine LOCAL_CFLAGS += -Werror LOCAL_CFLAGS += -std=c++11 -DCOMPILE_OMG_PACKAGE -Dgoogle=ascend_private LOCAL_LDFLAGS := LOCAL_STATIC_LIBRARIES := LOCAL_SHARED_LIBRARIES := libascend_protobuf \ libc_sec \ libslog \ libgraph \ libregister \ libruntime_compile LOCAL_SRC_FILES := $(local_lib_src_files) LOCAL_C_INCLUDES := $(local_lib_inc_path) include ${BUILD_HOST_SHARED_LIBRARY} #compiler for host ops kernel builder include $(CLEAR_VARS) LOCAL_MODULE := libhost_cpu_opskernel_builder LOCAL_CFLAGS += -Werror LOCAL_CFLAGS += -std=c++11 -Dgoogle=ascend_private LOCAL_LDFLAGS := LOCAL_STATIC_LIBRARIES := LOCAL_SHARED_LIBRARIES := libascend_protobuf \ libc_sec \ libslog \ libgraph \ libregister \ LOCAL_SRC_FILES := ops_kernel_store/host_cpu_ops_kernel_builder.cc LOCAL_C_INCLUDES := $(local_lib_inc_path) include ${BUILD_HOST_SHARED_LIBRARY} #compiler for device ops kernel builder include $(CLEAR_VARS) LOCAL_MODULE := libhost_cpu_opskernel_builder LOCAL_CFLAGS += -Werror LOCAL_CFLAGS += -std=c++11 -Dgoogle=ascend_private LOCAL_LDFLAGS := LOCAL_STATIC_LIBRARIES := LOCAL_SHARED_LIBRARIES := libascend_protobuf \ libc_sec \ libslog \ libgraph \ libregister \ LOCAL_SRC_FILES := ops_kernel_store/host_cpu_ops_kernel_builder.cc LOCAL_C_INCLUDES := $(local_lib_inc_path) include ${BUILD_SHARED_LIBRARY} #compiler for host static lib include $(CLEAR_VARS) LOCAL_MODULE := libhost_cpu_opskernel_builder LOCAL_CFLAGS += -Werror LOCAL_CFLAGS += -std=c++11 -Dgoogle=ascend_private LOCAL_LDFLAGS := LOCAL_STATIC_LIBRARIES := libascend_protobuf \ libgraph \ libregister \ LOCAL_SHARED_LIBRARIES := libc_sec \ libslog \ LOCAL_SRC_FILES := ops_kernel_store/host_cpu_ops_kernel_builder.cc LOCAL_C_INCLUDES := $(local_lib_inc_path) include ${BUILD_HOST_STATIC_LIBRARY} #compiler for device static lib include $(CLEAR_VARS) LOCAL_MODULE := libhost_cpu_opskernel_builder LOCAL_CFLAGS += -Werror LOCAL_CFLAGS += -std=c++11 -Dgoogle=ascend_private LOCAL_LDFLAGS := LOCAL_STATIC_LIBRARIES := libascend_protobuf \ libgraph \ libregister \ LOCAL_SHARED_LIBRARIES := libc_sec \ libslog \ LOCAL_SRC_FILES := ops_kernel_store/host_cpu_ops_kernel_builder.cc LOCAL_C_INCLUDES := $(local_lib_inc_path) include ${BUILD_STATIC_LIBRARY} #compiler for atc ops kernel builder include $(CLEAR_VARS) LOCAL_MODULE := atclib/libhost_cpu_opskernel_builder LOCAL_CFLAGS += -Werror LOCAL_CFLAGS += -std=c++11 -Dgoogle=ascend_private LOCAL_LDFLAGS := LOCAL_STATIC_LIBRARIES := LOCAL_SHARED_LIBRARIES := libascend_protobuf \ libc_sec \ libslog \ libgraph \ libregister \ LOCAL_SRC_FILES := ops_kernel_store/host_cpu_ops_kernel_builder.cc LOCAL_C_INCLUDES := $(local_lib_inc_path) include ${BUILD_HOST_SHARED_LIBRARY}