Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: update flatbuffers dependency to v23.5.26 #2274

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

rkuester
Copy link
Contributor

@rkuester rkuester commented Oct 13, 2023

Update the third_party flatbuffers library to v23.5.26, the
current version in upstream TF. Synchronize the override BUILD
and build_defs.bzl files with those from upstream TF at
e4485c98eae.

Also update the Makefile build, which downloads flatbuffers
separately. Rebase the patch applied to the download.

Regenerate the generated-and-checked-in schemas (see
ci/sync_from_upstream_tf.sh and codegen/preprocessor/
update_schema.sh), because they are stamped with the version of
the flatbuffers library, and fail a static_assert if they are
built with a different version of flatbuffers than they were
generated with.

BUG=unsuccessful attempt to fix warning in #2183

@rkuester rkuester requested a review from a team as a code owner October 13, 2023 17:18
@rkuester rkuester marked this pull request as draft October 13, 2023 17:20
@rascani
Copy link
Contributor

rascani commented Oct 13, 2023

We also need to update the version downloaded as part of the make build: https://github.com/tensorflow/tflite-micro/blob/main/tensorflow/lite/micro/tools/make/flatbuffers_download.sh#L57

@rkuester rkuester force-pushed the feat-build-update-flatbuffers branch from 527accd to 58cc594 Compare October 16, 2023 18:48
@TFLM-bot TFLM-bot removed the ci:run label Oct 16, 2023
@rkuester rkuester force-pushed the feat-build-update-flatbuffers branch 2 times, most recently from 36a80ac to 3fe216d Compare October 16, 2023 19:18
@TFLM-bot TFLM-bot removed the ci:run label Oct 16, 2023
Update the third_party flatbuffers library to v23.5.26, the
current version in upstream TF. Synchronize the override BUILD
and build_defs.bzl files with those from upstream TF at
e4485c98eae.

Also update the Makefile build, which downloads flatbuffers
separately. Rebase the patch applied to the download.

Regenerate the generated-and-checked-in schemas (see
ci/sync_from_upstream_tf.sh and codegen/preprocessor/
update_schema.sh), because they are stamped with the version of
the flatbuffers library, and fail a static_assert if they are
built with a different version of flatbuffers than they were
generated with.

BUG=unsuccessful attempt to fix warning in tensorflow#2183
@rkuester rkuester force-pushed the feat-build-update-flatbuffers branch from 3fe216d to ba98cf1 Compare October 16, 2023 19:50
@TFLM-bot TFLM-bot removed the ci:run label Oct 16, 2023
@rkuester rkuester marked this pull request as ready for review October 16, 2023 20:38
@rkuester rkuester requested a review from rascani October 16, 2023 20:38
@rkuester
Copy link
Contributor Author

@rascani, the merge is failing for a reason I've not encountered before: https://github.com/tensorflow/tflite-micro/pull/2274/checks?check_run_id=17757924691. Can you please take a look?

@rascani
Copy link
Contributor

rascani commented Oct 18, 2023

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented Oct 18, 2023

refresh

✅ Pull request refreshed

@rascani
Copy link
Contributor

rascani commented Oct 18, 2023

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented Oct 18, 2023

refresh

✅ Pull request refreshed

@mergify mergify bot merged commit 6bb1e3a into tensorflow:main Oct 18, 2023
64 of 65 checks passed
@rkuester rkuester deleted the feat-build-update-flatbuffers branch August 19, 2024 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants