This is in preparation of upgrading to bazel 4.0, which flipped `--incompatible_restrict_string_escapes`.
PiperOrigin-RevId: 353656022
Change-Id: Ide31ead6e968c94f3d6106a78ebc1b6b00746eab
TF no longer supports python2. This ensures that python3 will be picked up if available under the common "python3" name in the PATH.
PiperOrigin-RevId: 338014609
Change-Id: Iaf0ee14e3ebbbcd72cf4ef15050bdc4b5968c525
Currently TF_*_CONFIG_REPO environment variables point to checked in preconfig packages. After migrating to remote config they will point to remote repositories. The "config_repo_label" function ensures both ways continue to work.
PiperOrigin-RevId: 295990961
Change-Id: I7637ff5298893d4ee77354e9b48f87b8c328c301
This change is in prepartion for rolling out remote config. It will
allow us to inject environment variables from repository rules as
well as from the shell enviroment.
PiperOrigin-RevId: 295782466
Change-Id: I1eb61fca3556473e94f2f12c45ee5eb1fe51625b
Any code path using exec_result.stderr won't work with RBE due to
a bug where the service returns stderr as stdout.
PiperOrigin-RevId: 295107492
Change-Id: I5738d46f7bb4cc049636a6f6625abc782d2d1e29
Batch all tests if a file/dir exists into a single command
in order to save roundtrips.
PiperOrigin-RevId: 294252998
Change-Id: I516cb9dadad47ef43a83d4b0340a2f3c04402052
Move get_cpu_value() to common.bzl and use it from cuda_configure and rocm_configure
PiperOrigin-RevId: 293807189
Change-Id: I2eb0ef0ab27a64060a99985bcab9ae4706f57fc5