Backport Windows builds into 2.18 for 2.18.1 (tensorflow#88848)
* Update scripts/configs for Windows nightly/release builds.
`set -u` (does not allow unbound variables) has been removed from all scripts.
This is due to Docker on Windows treating variables in an env file,
set to an empty value (`MY_VAR=`), as unbound variables. Consequently,
these variables, even though they are "set", do not make it into the Docker
container at all, and various checks for those variables fail outright.
PiperOrigin-RevId: 713717958
(cherry picked from commit fa3b3c1)
* Fix up the 2022 Win RBE config.
PiperOrigin-RevId: 718920772
(cherry picked from commit 82ba59a)
* Adjust the wheel.sh, libtensorflow.sh scripts to be Win-compatible for upload.
Temporary workaround.
PiperOrigin-RevId: 719027529
(cherry picked from commit 7513f77)
* Add a workaround for gsutil not working properly on MSYS2.
PiperOrigin-RevId: 719389902
(cherry picked from commit 9ab2fee)
* Add the missing wheel name specification for Windows.
PiperOrigin-RevId: 720176067
(cherry picked from commit 768059f)
* Allow building identical wheels under additional names.
Currently only needed for Windows, since the same wheel is uploaded
to both tensorflow_cpu, and tensorflow PyPi repos,
but different names/metadata are needed.
PiperOrigin-RevId: 720313792
(cherry picked from commit a93dc78)
* Actually copy the extra wheels into the expected directory afterwards.
PiperOrigin-RevId: 720753829
(cherry picked from commit 6ba7e4e)