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
Replace calls to `third_party_http_archive` with calls to `tf_http_archive` alias.
Disable 'mirror.tensorflow.org' check. A number of users don't seem to follow the requirements, which were not checked correctly before.
This wasn't discovered by presubmits because the check is in the repo rule, which only triggers if the repo is actually used.
PiperOrigin-RevId: 359355039
Change-Id: Ieddab6fd91b96e6e22afccdad21c8fa30b795ff4
https://github.com/bazelbuild/bazel/issues/7362
This PR updates `cc_library`s to use `alwayslink=1` when needed. Currently, library archives and library object groups are wrapped in `--whole_archive`, `--no_whole_archive`, thus the whole library is always linked. This changes with Bazel 1.0, and libraries that export otherwise unused symbols must be tagged as `alwayslink=1`.
This PR fixes https://github.com/tensorflow/tensorflow/issues/32835 (once again, as it was fixed by https://github.com/tensorflow/tensorflow/pull/33415 but the codebase regressed in the meantime.)
It also fixes most of the TF tests.
PiperOrigin-RevId: 276772147
Change-Id: I05db02e84200a484df52f4f02b601dc486636912
//third_party/icu/data was added which depends on a new icu target that
was missing in the unbundled BUILD file.
Signed-off-by: Jason Zaman <jason@perfinion.com>
ISO 8859 sets (Latin 1-5, Cyrillic, Arabic, Greek, Hebrew), various EUCs, and common CJK encodings.
Data is hard-coded in order to achieve a hermetic runtime, and to simplify the build process. Data is in little-endian byte order. Trying to decode/encode CJK or other code-mapped encodings on a big-endian platform will result in a runtime InvalidArgumentError ("Could not create converter for...").
PiperOrigin-RevId: 221478869