-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android.mk
36 lines (27 loc) · 1.05 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libmai
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include \
$(LOCAL_PATH)/source/ \
$(LOCAL_PATH)/source/core \
$(LOCAL_PATH)/source/ops/cpu/ref \
$(LOCAL_PATH)/source/ops/cpu/ \
$(LOCAL_PATH)/source/ops/gpu/ \
$(LOCAL_PATH)/3rd_party/openmp/include \
$(LOCAL_PATH)/3rd_party/opencl \
$(call intermediates-dir-for, SHARED_LIBRARIES, $(LOCAL_MODULE))/proto
LOCAL_SRC_FILES := $(call all-cpp-files-under,\
source/core \
source/ops/cpu \
source/util \
source/ops/gpu \
source/ops/cpu/runtime \
source/ops/gpu/runtime \
source/ops/cpu/neon)
LOCAL_MULTILIB := 64
LOCAL_STATIC_LIBRARIES := libomp_static libprofiling_static
LOCAL_CFLAGS += -std=c++11 -fopenmp -O3
LOCAL_CFLAGS += -DMAI_NEON_ENABLED
include $(BUILD_SHARED_LIBRARY)
#include $(call all-makefiles-under,$(LOCAL_PATH))