Commit Graph

159 Commits

Author SHA1 Message Date
Reuben Morais
4bdd395511 Revert "Move native_client specific WORKSPACE changes to root WORKSPACE file"
This reverts commit 9b67f161e5.
2021-09-21 16:39:29 +02:00
Reuben Morais
9b67f161e5 Move native_client specific WORKSPACE changes to root WORKSPACE file 2021-07-23 16:21:28 +02:00
Alexandre Lissy
6fad14b203 Mozilla TensorFlow r2.3 2020-08-06 19:19:26 +02:00
Pete Warden
1de7105aeb Test that person detection example binary can run
PiperOrigin-RevId: 313275958
Change-Id: Ie128cccabb6e168b85920f72618530e15477a026
2020-05-26 15:14:00 -07:00
Christina Sorokin
a659b93433 rollback of change
Add two repository rules:
- @local_execution_config_platform: local platform to allow selecting locally
  executed tools on
- @local_execution_config_python: python configured for execution...

PiperOrigin-RevId: 307862682
Change-Id: Ie0320f2f137a40b418632989981c9dc072ef80e6
2020-04-22 11:47:06 -07:00
A. Unique TensorFlower
f5bb643360 Add two repository rules:
- @local_execution_config_platform: local platform to allow selecting locally
  executed tools on
- @local_execution_config_python: python configured for execution on the local
  machine during otherwise remote builds

Mark rules that are required to run locally to require our local platform.

This allows pyth...

PiperOrigin-RevId: 307771596
Change-Id: If1f0013ec88a35d507b2b622894208aab2416fe5
2020-04-22 01:47:55 -07:00
Taehee Jeong
0f631f8fb1 Add two repository rules:
- @local_execution_config_platform: local platform to allow selecting locally
  executed tools on
- @local_execution_config_python: python configured for execution on the local
  machine during otherwise remote builds

Mark rules that are required to run locally to require our local platform.

This allows python paths to differ between the remote docker image and local
machine.

For example, the local machine might have python 3.7 installed in
/usr/bin/python3, while the remote docker should use a python installed
in /usr/local/bin/python3.8.

PiperOrigin-RevId: 307585019
Change-Id: I29313121beb967b77ae123e7d1b614c688cb40ca
2020-04-21 05:20:54 -07:00
A. Unique TensorFlower
d68284a16f Add two repository rules:
- @local_execution_config_platform: local platform to allow selecting locally
  executed tools on
- @local_execution_config_python: python configured for execution on the local
  machine during otherwise remote builds

Mark rules that are required to run locally to require our local platform.

This allows python paths to differ between the remote docker image and local
machine.

For example, the local machine might have python 3.7 installed in
/usr/bin/python3, while the remote docker should use a python installed
in /usr/local/bin/python3.8.

PiperOrigin-RevId: 307558811
Change-Id: I0dc2d877a7c26b294bf2b569b4f121cf6506e7fc
2020-04-21 01:10:05 -07:00
A. Unique TensorFlower
b9e1252bcb Upgrade external dependency googleapis for GCP monitoring
PiperOrigin-RevId: 301897769
Change-Id: I03bcc9430857d2cb61aadbc5ba928b257a5b6c3c
2020-03-19 14:42:04 -07:00
A. Unique TensorFlower
f396035891 Upgrade and rename external dependency grpc in workspace for bazel.
Fixes 

Downstream projects depending on TensorFlow: If bazel complains, please substitute `@zlib_archive` with `@zlib`, and `@grpc` with `@com_github_grpc_grpc` in WORKPLACE.

PiperOrigin-RevId: 295824868
Change-Id: If2259d59e9d82543369e5670916b1398374c9889
2020-02-18 14:40:26 -08:00
Yifei Feng
4d4c956cd3 Automated rollback of commit 9d6198d555
PiperOrigin-RevId: 294299428
Change-Id: I70c30c3e7b855fac8d2b43bfa456b1972662b5ac
2020-02-10 14:11:18 -08:00
Brian Zhao
9d6198d555 Patching rules closure's maven download to an https url, since the current one is causing a 501.
PiperOrigin-RevId: 289903847
Change-Id: Ia34f27fd4e2a6f1116d49a77d81f613e18f73563
2020-01-15 11:48:15 -08:00
Brian Zhao
8782b7679c Move tflite http_archive and http_file WORKSPACE http_archive rules into tensorflow/workspace.bzl, where the rest of the external dependency configuration lives. This change also converts these rules into tf_http_archive, and adds appropriate mirrors.
PiperOrigin-RevId: 289569601
Change-Id: I6d9382a5f61e9a53f627efd632097062c17b9a79
2020-01-13 19:37:21 -08:00
Gunhan Gulsoy
aaea541431 Bump minimum bazel version requirement to 1.0.0
PiperOrigin-RevId: 283114685
Change-Id: Ie7160112ff379fcc7e4c4794db20f4eb24f5f8df
2019-11-30 13:23:11 -08:00
A. Unique TensorFlower
98ecdee8e6 Add python toolchains definition in python configuration
--python_path will be removed in future Bazel, we should switch to use python toolchain. But currently we want Bazel to always use the same python binary specified in configure.py regardless of what's specified in py_binary rule (PY2 or PY3). So we point both py2 and py3 runtime to the same PYTHON_BIN_PATH.

PiperOrigin-RevId: 273032026
2019-10-05 02:37:00 -07:00
A. Unique TensorFlower
c0fc6ac6ff Updates WORKSPACE to include latest version of Apple and Swift Bazel dependencies.
PiperOrigin-RevId: 267197731
2019-09-04 12:07:49 -07:00
Frank Chen
ed0761ba56 Mechanical replacement of http://storage.googleapis.com with https equivalent.
PiperOrigin-RevId: 260023596
2019-07-25 16:21:21 -07:00
Frank Chen
57e0d1acc2 Mechanical replacement of download.tensorflow.org with https equivalent.
PiperOrigin-RevId: 259862509
2019-07-24 18:49:22 -07:00
A. Unique TensorFlower
15867c9e2e Updates the Apple and Swift Bazel rules versions.
PiperOrigin-RevId: 259840994
2019-07-24 16:37:07 -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
dad4197fcf Fix tf_workspace for projects use TensorFlow as an external repository.
PiperOrigin-RevId: 254752872
2019-06-24 07:25:56 -07:00
A. Unique TensorFlower
508f76b1d9 Upgrade protobuf to 3.8.0
The custom commit contains a fix to make protobuf.bzl compatible with Bazel 0.26 or later version.

Also fix WORKSPACE file to make sure tf_workspace() always takes priority over dependency definitions of other repositories.

PiperOrigin-RevId: 253970221
2019-06-19 04:19:29 -07:00
A. Unique TensorFlower
265042c5d6 Upgrade rules_closure to adapt incompatible changes in Bazel 0.26
PiperOrigin-RevId: 253064998
2019-06-13 11:08:14 -07:00
A. Unique TensorFlower
7df6c3285e Automated rollback of commit 52ab655ad8
PiperOrigin-RevId: 247642114
2019-05-10 14:30:13 -07:00
A. Unique TensorFlower
52ab655ad8 Updates the Apple and Swift Bazel rules versions.
PiperOrigin-RevId: 247523616
2019-05-09 17:07:46 -07:00
A. Unique TensorFlower
9e2bccdb01 Updates Apple Bazel rules.
PiperOrigin-RevId: 245294521
2019-04-25 13:57:38 -07:00
A. Unique TensorFlower
87b5f63ba7 Updates Swift Bazel rules.
PiperOrigin-RevId: 245290393
2019-04-25 13:37:18 -07:00
A. Unique TensorFlower
1942fea1b8 Updates versions for Apple and Swift Bazel rules.
PiperOrigin-RevId: 243106606
2019-04-11 11:34:13 -07:00
A. Unique TensorFlower
0bf98770f1 Upgrade rules_closure
To get fixes from upstream : https://github.com/bazelbuild/rules_closure/pull/352

PiperOrigin-RevId: 241953862
2019-04-04 10:31:36 -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
Yun Peng
3d7e00e6a1
Update rules_closure data 2019-03-21 17:25:01 +01:00
Yun Peng
e1bdd9daf0 Fix TensorFlow incompatibility with --incompatible_no_transitive_loads
See https://github.com/bazelbuild/bazel/issues/5636
2019-03-21 17:21:50 +01:00
Gunhan Gulsoy
f14586ee83 Avoid using git_repository rules in apple_rules and swift_rules repositories.
Git_repository is slow, and causes build failures on windows.

PiperOrigin-RevId: 237542773
2019-03-08 16:53:28 -08:00
A. Unique TensorFlower
b0022ada8f Internal changes only.
PiperOrigin-RevId: 232761942
2019-02-06 15:47:31 -08:00
A. Unique TensorFlower
c223fbd116 Upgrade bazel-toolchain to the latest release
Also removed bazel-toolchain support for Bazel version prior to 0.19.0 and updated check_bazel_version_at_least in WORKSPACE file

To fix https://github.com/bazelbuild/bazel/issues/7113

PiperOrigin-RevId: 229392830
2019-01-15 10:21:33 -08:00
Laurent Le Brun
8c22259497 Update dependency on rules_closure
This makes this command succeed:
  bazel build //tensorflow/tools/pip_package:build_pip_package --incompatible_disallow_data_transition

This is needed for a future change in Bazel.
2019-01-04 20:37:31 +01:00
A. Unique TensorFlower
146c2da5d1 Adds Apple+Swift Bazel dependencies to TensorFlow workspace.
PiperOrigin-RevId: 225905634
2018-12-17 16:08:22 -08:00
TensorFlower Gardener
78c246bb6c Merge pull request from perfinion:bazelrc
PiperOrigin-RevId: 225413451
2018-12-13 12:38:00 -08:00
A. Unique TensorFlower
62bc640c2d Automated rollback of commit 221f4d23c6
PiperOrigin-RevId: 225322589
2018-12-13 00:16:47 -08:00
A. Unique TensorFlower
2087bffc23 Automated rollback of commit 221f4d23c6
PiperOrigin-RevId: 225085109
2018-12-11 15:51:14 -08:00
A. Unique TensorFlower
221f4d23c6 Switch to mounting the current source in the remote config docker.
Add workaround for the latest toolchain repository not supporting older bazel
versions; only load it conditionally.

PiperOrigin-RevId: 224965872
2018-12-11 02:14:44 -08:00
Jason Zaman
b41761c499 Update to bazel-0.18.0 and use try-import
Bazel-0.18.0 adds a try-import option that will non-fatally try and
import a file. Use this for the configure options so that .bazelrc does
not need to change. ./configure rewriting .bazelrc makes using the git
repo annoying because the file is changed.

The allowed bazel range is now 0.18.0-0.20.0 inclusive. The env var
TF_IGNORE_MAX_BAZEL_VERSION can be set to skip the max bazel version
check.

Also optionally import a /.bazelrc.user file that is gitignored so
user-specific options can go in there.

Fixes: https://github.com/tensorflow/tensorflow/issues/22762
Fixes: https://github.com/tensorflow/tensorflow/pull/22906
Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-12-05 08:34:07 +08:00
A. Unique TensorFlower
5b14577d42 Use Starlark version of http_archive
The native http_archive and new_http_archive will be removed in 0.20.0

PiperOrigin-RevId: 223544202
2018-11-30 11:15:56 -08:00
A. Unique TensorFlower
54cc77eaf0 Add configuration rule for remote execution.
PiperOrigin-RevId: 221105195
2018-11-12 09:47:54 -08:00
Gunhan Gulsoy
b4ae85234b Automated rollback of commit 7229d08f0b
PiperOrigin-RevId: 214575129
2018-09-26 02:35:25 -07:00
Michael Case
7229d08f0b Experiment using Bazel's pip_install rule to install keras_applications.
PiperOrigin-RevId: 214076591
2018-09-21 18:59:56 -07:00
Yifei Feng
bb384118db Upgrade bazel to 0.15.0.
PiperOrigin-RevId: 205878953
2018-07-24 13:16:04 -07:00
Reed Wanderman-Milne
716d15118f Update minimum bazel version to 0.13.0.
I was using bazel 0.12.0 and was getting the error:

file '@bazel_tools//tools/cpp:windows_cc_configure.bzl' does not contain symbol 'setup_vc_env_vars'

PiperOrigin-RevId: 205316270
2018-07-19 15:55:52 -07:00
Yifei Feng
11020427c9 Automated rollback of commit 5e7178ddb7
PiperOrigin-RevId: 205165137
2018-07-18 17:32:02 -07:00
Yifei Feng
5e7178ddb7 Upgrade bazel to 0.15.0.
PiperOrigin-RevId: 205147588
2018-07-18 15:36:03 -07:00