1 LOCAL_PATH:= $(call my-dir) 2 3 transforms_vectorize_SRC_FILES := \ 4 BBVectorize.cpp \ 5 LoopVectorize.cpp \ 6 SLPVectorizer.cpp \ 7 Vectorize.cpp 8 9 # For the host 10 # ===================================================== 11 include $(CLEAR_VARS) 12 13 LOCAL_SRC_FILES := $(transforms_vectorize_SRC_FILES) 14 LOCAL_MODULE:= libLLVMVectorize 15 16 LOCAL_MODULE_HOST_OS := darwin linux windows 17 18 include $(LLVM_HOST_BUILD_MK) 19 include $(LLVM_GEN_ATTRIBUTES_MK) 20 include $(LLVM_GEN_INTRINSICS_MK) 21 include $(BUILD_HOST_STATIC_LIBRARY) 22 23 # For the device 24 # ===================================================== 25 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 26 include $(CLEAR_VARS) 27 28 LOCAL_SRC_FILES := $(transforms_vectorize_SRC_FILES) 29 LOCAL_MODULE:= libLLVMVectorize 30 31 include $(LLVM_DEVICE_BUILD_MK) 32 include $(LLVM_GEN_ATTRIBUTES_MK) 33 include $(LLVM_GEN_INTRINSICS_MK) 34 include $(BUILD_STATIC_LIBRARY) 35 endif 36