tensorflow/third_party/FP16/workspace.bzl
Itai Zukerman 8fa1dfaa38 BUILD.bazel files in //third_party/name were by convention copied to the
root of the 3P repository.  But BUILD.bazel was also being interpreted by
bazel as the BUILD file for the //third_party/name folder, which is wrong.

This change renames those files to name.BUILD, a convention already being
used by some packages.

PiperOrigin-RevId: 409278565
Change-Id: Ib99c3474ec0b20d04cdb9d828f68c8303caec5fe
2021-11-11 17:08:47 -08:00

13 lines
513 B
Python

"""Loads the FP16 library, used by TF Lite."""
load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
def repo():
tf_http_archive(
name = "FP16",
strip_prefix = "FP16-4dfe081cf6bcd15db339cf2680b9281b8451eeb3",
sha256 = "d973501a40c55126b31accc2d9f08d931ec3cc190c0430309a5e341d3c0ce32a",
urls = tf_mirror_urls("https://github.com/Maratyszcza/FP16/archive/4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip"),
build_file = "//third_party/FP16:FP16.BUILD",
)