Skip to content

[DOCKER] ubuntu_install_tflite.sh flatbuffers build failure #2823

@ghost

Description

Since 14/3/2019 ubuntu_install_tflite.sh fails due to build failure in flatbuffers.

The ubuntu_install_tflite.sh script checkouts out the head of flatbuffers and tries to build it. Upstream flatbuffers commit: 3b23ff18ea27c6cac33c8211d405d57d4595db1a "Made ToStringVisitor backwards compatible with older behavior." triggers the following build error:

/flatbuffers/include/flatbuffers/minireflect.h:293:7: error: declaration of 'vector_delimited' shadows a member of 'flatbuffers::ToStringVisitor' [-Werror=shadow]

The build error itself is an issue with the upstream project but the important underlying issue for TVM is that the ubutnu_install_tflite.sh script is tracking the bleeding edge of flatbuffers rather than pulling and building a known fixed version of flatbuffers. This means tvm rebuilds of the build infrastructure docker images are not repeatable / subject to arbitrary failure.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions