From b22a765df3225ff647dd230d42b75aab2bdd019d Mon Sep 17 00:00:00 2001 From: Semun Lee Date: Tue, 2 Jun 2020 18:40:41 +0900 Subject: [PATCH] Use proper mmap_allocator for TFLite When BUILD_WITH_MMAP is ture, mmap_allocator.cc should be used Change-Id: Iad36ae84cfa50b24b4cf1f4dfe8c46972bd1221b --- tensorflow/lite/tools/make/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/lite/tools/make/Makefile b/tensorflow/lite/tools/make/Makefile index 738d50b1771..7d55370818c 100644 --- a/tensorflow/lite/tools/make/Makefile +++ b/tensorflow/lite/tools/make/Makefile @@ -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