Disable parse_headers for lite/kernels/internal:reference_base

PiperOrigin-RevId: 350186096
Change-Id: Ia40092f8270fa77d0f4a5aac2745bb65151b0eb1
This commit is contained in:
Advait Jain 2021-01-05 11:42:22 -08:00 committed by TensorFlower Gardener
parent fea4a23847
commit 2de0ae0049

View File

@ -512,13 +512,14 @@ cc_library(
}),
compatible_with = get_compatible_with_portable(),
copts = tflite_copts(),
# We are disabling parse_headers for the tf_lite_static_memory build to
# allow it to be consistent with the OSS bazel build. See b/175817116
# for more details.
features = select({
":tf_lite_static_memory": ["-parse_headers"],
"//conditions:default": [],
}),
# We are disabling parse_headers for this header-only target so that the
# external and internal builds are consistent. The primary issue here is
# that parse_headers is not supported with bazel and the TFLM team would
# really like to have all build errors in shared Micro/Lite code be
# reproducible from the OSS build as well.
#
# See b/175817116 for more details.
features = ["-parse_headers"],
deps = [
":common",
":compatibility",