Use proper mmap_allocator for TFLite

When BUILD_WITH_MMAP is ture, mmap_allocator.cc should be used

Change-Id: Iad36ae84cfa50b24b4cf1f4dfe8c46972bd1221b
This commit is contained in:
Semun Lee 2020-06-02 18:40:41 +09:00
parent 424a3072f9
commit b22a765df3

View File

@ -177,9 +177,9 @@ ifeq ($(BUILD_TYPE),windows)
BUILD_WITH_MMAP=false
endif
ifeq ($(BUILD_WITH_MMAP),true)
CORE_CC_EXCLUDE_SRCS += tensorflow/lite/mmap_allocation.cc
else
CORE_CC_EXCLUDE_SRCS += tensorflow/lite/mmap_allocation_disabled.cc
else
CORE_CC_EXCLUDE_SRCS += tensorflow/lite/mmap_allocation.cc
endif
BUILD_WITH_RUY ?= false