You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a stub bazel wrapper for Windows (#1201)
This is a preparation before starting using 'clang-cl' to build Mozc for
for Windows with Bazel (#1179).
In order to make the build process reliable and reproducible, we would
like to download a specific version of LLVM with 'update_deps.py' then
deploy it under 'third_party/llvm/' and let 'rules_cc' use it by
specifying 'BAZEL_LLVM' environment variable [1].
To automate this process, one idea is to use 'tools/bazel' wrapper
script [2]. Luckily the wrapper script directory is also customizable
since bazelisk v1.21.0 [3].
With above this commit introduces a stub 'bazel.bat' so that we can use
it to set various environment variables for Windows bazel build in
subsequent commits. At this moment there must be no difference in the
final artifacts. There should be no impact on non-Windows bazel build
as 'bazel.bat' is searched only on Windows.
[1]: https://bazel.build/configure/windows#clang
[2]: https://github.com/bazelbuild/bazelisk/blob/master/README.md#toolsbazel
[3]: bazelbuild/bazelisk#567
PiperOrigin-RevId: 736025839
0 commit comments