Merge pull request #40080 from semunlee:fix_mmap_allocation
PiperOrigin-RevId: 314557967
This commit is contained in:
commit
0836e5e4ea
|
@ -177,9 +177,9 @@ ifeq ($(BUILD_TYPE),windows)
|
||||||
BUILD_WITH_MMAP=false
|
BUILD_WITH_MMAP=false
|
||||||
endif
|
endif
|
||||||
ifeq ($(BUILD_WITH_MMAP),true)
|
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
|
CORE_CC_EXCLUDE_SRCS += tensorflow/lite/mmap_allocation_disabled.cc
|
||||||
|
else
|
||||||
|
CORE_CC_EXCLUDE_SRCS += tensorflow/lite/mmap_allocation.cc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
BUILD_WITH_RUY ?= false
|
BUILD_WITH_RUY ?= false
|
||||||
|
|
Loading…
Reference in New Issue