Commit graph

16 commits

Author SHA1 Message Date
Esun Kim
399e48b8a9
[CI] Clean up bzl (#3478)
* Removed unused

* Unused
2026-02-12 14:05:54 -08:00
Esun Kim
807c35d6a9
Bazel Module (#3364)
* Work

* Review update

* Enabled tests

* Bazel: Suppress warnings from external repositories

* Fixed whl_test

* Formatted

* More format
2026-02-11 14:11:47 -08:00
Esun Kim
41a80afaa4
[Dep] Upgraded Flatbuffer to 25.9.23 (#3296)
* flatbuffer-25.9.23

* Patch 1

* No dynamic allocation patch to Flatbuffer

* Individual ModelBuilder

* Fix

* Patch

* One more removal
2026-01-27 22:12:21 +00:00
Esun Kim
b46e68e79f
Bazel clean-up (#3359) 2026-01-26 17:20:18 -08:00
Esun Kim
dd0f1894a2
Clean-up Bazel (#3355) 2026-01-26 13:35:11 -08:00
Esun Kim
ba753cef3e
[CI] Fix build (#3194)
- Upgraded the Bazel BuildTool to the latest version (8.2.1).
- Updated the `tflm-ci` Docker image and pushed the new tag (0.6.1) to the `ghcr.io/tflm-bot/tflm-ci registry`.
- Updated the WORKSPACE to load `rules_cc` and `rules_shell` explicitly
- Ran `buildifier` to ensure all BUILD files to have all the fixes.

BUG=Clean-up
2025-09-19 20:48:22 +00:00
RJ Ascani
ff5c090eca
Fix upstream TF sync (#2625)
The CI sync from the upstream TF has been failing for the last month due
to the relocation of certain TFLite files. In particular, some schema
files were relocated to tensorflow/compiler/mlir/lite subfolder. This PR
mirrors the migration and adds a few redirection headers to ensure
source compatibility for now.

This PR also includes a TF sync as well to get us caught up again. While
that could have been done separately, this is done together to ensure
everything continues to build with the relocations.

BUG=b/351824449
2024-07-15 13:04:01 -07:00
Steven Toribio
79e3f35f3c
Remove the output_to_genfiles = True parameter from Starlark rules (#2512)
corresponding [g3 cl](https://critique.corp.google.com/cl/616227359)

BUG=N/A
2024-03-19 21:56:48 +00:00
Steven Toribio
e38f488234
renaming Flatbuffers BUILD (#2294)
renaming BUILD.external to BUILD.oss to fix github -> googel3 sync. More context in bug below .

BUG=[b/308446984](https://b.corp.google.com/issues/308446984)
2023-10-30 20:16:05 +00:00
Ryan Kuester
6bb1e3a635
build: update flatbuffers dependency to v23.5.26 (#2274)
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
2023-10-18 21:01:22 +00:00
Advait Jain
699c5178b9
Explicit load for py_library. (#2127)
BUG=http://b/291306662
2023-07-14 21:59:36 +00:00
Ryan Kuester
c82e7908f6
build: fix broken bazel aquery
Fix many if not all uses of `bazel aquery` by renaming the BUILD file, kept in our repo, used in the external flatbuffers repo. The old name implies it is a BUILD file for the
//third_party/flatbuffers package in our repo, which trips bazel up when running an aquery, e.g.:

    bazel aquery @//... >/dev/null

BUG=cleanup, see description for the issue.
2023-01-11 23:54:20 +00:00
suleshahid
a2b27b82f7
Update deprecated keyword for cfg = "host" (#1559) 2022-11-17 04:08:09 +00:00
suleshahid
1e74475fde
Update Flatbuffer version to 2.0.6 and generate schema local. (#1374) 2022-08-25 18:01:35 +00:00
suleshahid
bea1192371
Change current flatbuffer library name to represent version. (#1366) 2022-08-18 22:01:41 +00:00
Advait Jain
a37043ff7a
Manually sync'd code from upstream TF. (#2)
Confirmed that the following command passes:
```
./tensorflow/lite/micro/tools/ci_build/test_all_new.sh GITHUB_PRESUBMIT
```
2021-04-09 11:17:58 -07:00