SPIRV-Tools/kokoro/windows-msvc-2015-release-bazel
IcyTv 98dce6ca18
Fixed Bazel Windows build (#4736)
* Fixed Bazel Windows build

Before this commit, the bazel build setup would not work on windows.
This is due to the fact, that genrule tries to use bash, which fails.
One fix would be to use bazel-skylib's run_binary.
This however does not work (easily) since genrules is more complex.

To (temporarily) fix the windows build, I added the `cmd_bat` property to every genrule.
This seems more like a hack, because it basically repeat commands,
 but for now it at least builds on windows.

* Removed BAZEL_SH from bazel presubmit build script

Thanks to @s-perron for pointing out, that the presubmit script uses the msys64 bash shell for the bazel build.
Since adding the `cmd_bat` argument removes the dependency on bash, this is no longer needed.
2022-03-07 12:50:19 -05:00
..
build.bat Fixed Bazel Windows build (#4736) 2022-03-07 12:50:19 -05:00
continuous.cfg Add Kokoro bots for building with Bazel. (#2914) 2019-09-27 09:13:32 -04:00
presubmit.cfg Add Kokoro bots for building with Bazel. (#2914) 2019-09-27 09:13:32 -04:00