2022-09-06 23:29:51 +02:00
|
|
|
"""Loads the Flatbuffers library, used by TF Lite."""
|
|
|
|
|
|
|
|
load("//third_party:repo.bzl", "third_party_http_archive")
|
|
|
|
|
|
|
|
def repo():
|
|
|
|
third_party_http_archive(
|
|
|
|
name = "flatbuffers",
|
2023-06-12 18:25:40 +02:00
|
|
|
strip_prefix = "flatbuffers-23.5.26",
|
|
|
|
sha256 = "1cce06b17cddd896b6d73cc047e36a254fb8df4d7ea18a46acf16c4c0cd3f3f3",
|
2022-09-06 23:29:51 +02:00
|
|
|
urls = [
|
2023-06-12 18:25:40 +02:00
|
|
|
"https://github.com/google/flatbuffers/archive/v23.5.26.tar.gz",
|
|
|
|
"https://github.com/google/flatbuffers/archive/v23.5.26.tar.gz",
|
2022-09-06 23:29:51 +02:00
|
|
|
],
|
|
|
|
build_file = "//third_party/flatbuffers:BUILD.bazel",
|
|
|
|
delete = ["build_defs.bzl", "BUILD.bazel"],
|
|
|
|
link_files = {
|
|
|
|
"//third_party/flatbuffers:build_defs.bzl": "build_defs.bzl",
|
|
|
|
},
|
|
|
|
)
|