Skip to content

Commit 048c954

Browse files
authored
Compression target build fixes (#3008)
Decompress_test has some issues internally due to compatibility checking. Changed define to 1 line for easier regex for internal change. BUG=compression BUILD fix internal
1 parent 39ba5a8 commit 048c954

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

tensorflow/lite/micro/build_def.bzl

+1-4
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ def tflm_defines():
3232
this function directly; however, it may be useful when additively
3333
overriding the defaults for a particular target.
3434
"""
35-
defines = [
36-
# Exclude dynamic memory use in shared TFLite code.
37-
"TF_LITE_STATIC_MEMORY=1",
38-
]
35+
defines = ["TF_LITE_STATIC_MEMORY=1"]
3936

4037
defines += select({
4138
# Include code for the compression feature.

tensorflow/lite/micro/kernels/BUILD

+4
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,10 @@ tflm_cc_test(
641641
srcs = [
642642
"decompress_test.cc",
643643
],
644+
tags = [
645+
"nobuilder",
646+
"notap",
647+
],
644648
target_compatible_with = select({
645649
"//conditions:default": ["@platforms//:incompatible"],
646650
"//:with_compression_enabled": [],

0 commit comments

Comments
 (0)