Commit Graph

23 Commits

Author SHA1 Message Date
wcn
d8a85e6638 Internal-only change to BUILD files
PiperOrigin-RevId: 489204515
2022-11-17 07:20:54 -08:00
Mihai Maruseac
93323537ac Bump ICU to 69.1 to handle CVE-2020-10531.
See [CVE-2020-10531](https://nvd.nist.gov/vuln/detail/CVE-2020-10531), it's an integer overflow.

PiperOrigin-RevId: 424908014
Change-Id: Ib8d6f8b527fb1fd9d887eaf487afc17d42333c8a
2022-01-28 11:15:17 -08:00
Mehdi Amini
2d34c7e935 Backport Bazel BUILD file fix for LLVM
PiperOrigin-RevId: 417520712
Change-Id: I5bb9ee0457b9b2bd289828f2996a3bd796975333
2021-12-20 19:09:35 -08:00
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
Itai Zukerman
865f0fff01 Replaced pairs of URLs with the tf_mirror_urls helper in TF OSS workspace files.
PiperOrigin-RevId: 409175589
Change-Id: Ib634a7a99477cfce4271b4a58f6cda5f5be69017
2021-11-11 10:04:37 -08:00
Christian Sigg
5353e37cfc Remove third_party_http_archive.
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
2021-02-24 13:30:37 -08:00
Christian Sigg
05701e9d6d Remove clean_dep() repository macros that are no longer needed.
PiperOrigin-RevId: 358886348
Change-Id: I22dc5cce1f999961b692e48fd4c3c343e5a5768c
2021-02-22 13:12:17 -08:00
Benjamin Peterson
80aaf0c417 Use Bazel's builtin patch support.
This removes a dependency on the system having a patch executable.
2020-07-16 16:57:11 +00:00
A. Unique TensorFlower
52167ad658 Update TF for Bazel 1.0's --incompatible_remove_legacy_whole_archive
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
2019-10-25 16:16:51 -07:00
A. Unique TensorFlower
1154432f88 remove macro that Google ICU no longer looks at
PiperOrigin-RevId: 270930340
2019-09-24 10:26:09 -07:00
Nick Hamatake
45fe8a9dac Update ICU version to 64.2
PiperOrigin-RevId: 267010469
2019-09-03 15:40:52 -07:00
A. Unique TensorFlower
02c9ee21b3 ICU 64+ no longer uses U_HAVE_STD_ATOMICS
PiperOrigin-RevId: 259815120
2019-07-24 14:34:02 -07:00
Frank Chen
2b5ece29d3 Mechanical replacement of mirror.tensorflow.org with https equivalent.
PiperOrigin-RevId: 259676414
2019-07-23 22:26:09 -07:00
A. Unique TensorFlower
8ec9355084 Switch from 'patch' to 'git apply' because CentOS 6's 'patch' doesn't support renaming files.
PiperOrigin-RevId: 253951856
2019-06-19 01:35:06 -07:00
Gunhan Gulsoy
b5d67b7c69 Move all TF bazel dependencies to use mirror.tensorflow.org.
PiperOrigin-RevId: 240852310
2019-03-28 14:31:12 -07:00
Nick Hamatake
025aa34d77 Patch ICU to always look for its data statically.
Fixes #23655

PiperOrigin-RevId: 238134165
2019-03-12 17:42:07 -07:00
Reed Wanderman-Milne
155385b865 Automated rollback of commit 7e090f6a54
PiperOrigin-RevId: 229798646
2019-01-17 13:15:32 -08:00
Nick Hamatake
7e090f6a54 Force ICU to look for its data statically. This is required for Windows 10
builds. Patch suggested by github.com/cielavenir.

Fixes #23655

PiperOrigin-RevId: 229464102
2019-01-15 16:40:48 -08:00
Jason Zaman
813af36087 systemlibs: icu: update unbundle
//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>
2018-12-04 21:40:12 +08:00
Nick Hamatake
4ed1ea78f4 Internal change
PiperOrigin-RevId: 221523998
2018-11-14 15:47:15 -08:00
Nick Hamatake
6d11cff780 Add encoding data to support core MIME/Unix/Windows encodings, including core
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
2018-11-14 11:29:48 -08:00
Jason Zaman
7a138d9cce systemlibs: unbundle icu 2018-10-06 21:24:34 +08:00
A. Unique TensorFlower
334244be68 Add tf.strings.unicode_script, which detects the script of a unicode codepoint
based on standard ranges.

PiperOrigin-RevId: 214796357
2018-09-27 10:36:29 -07:00