| """Loads the Flatbuffers library, used by TF Lite.""" | |
| load("//third_party:repo.bzl", "tf_http_archive") | |
| def repo(): | |
| tf_http_archive( | |
| name = "flatbuffers", | |
| strip_prefix = "flatbuffers-23.5.26", | |
| sha256 = "1cce06b17cddd896b6d73cc047e36a254fb8df4d7ea18a46acf16c4c0cd3f3f3", | |
| urls = [ | |
| "https://github.com/google/flatbuffers/archive/v23.5.26.tar.gz", | |
| ], | |
| build_file = "//third_party/flatbuffers:BUILD.oss", | |
| system_build_file = "//third_party/flatbuffers:BUILD.system", | |
| link_files = { | |
| "//third_party/flatbuffers:build_defs.bzl": "build_defs.bzl", | |
| }, | |
| ) |