commit | 9887358a5c73db03abd19d058fcc0515c97b1451 | [log] [tgz] |
---|---|---|
author | pcloudy <pcloudy@google.com> | Wed Jul 17 01:34:13 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jul 17 01:35:11 2019 -0700 |
tree | 1c49da0cd3b8fbce3a1db0fc607cdc56e5ecdb34 | |
parent | 53ee8c30ef5717144448f925cdaf9c6587fb19f9 [diff] |
Windows, windows_cc_configure.bzl: Pass -vcvars_ver flag only when it is supported. Previously, we assume -vcvars_ver is always supported from VS 2017, but it is only introduced from Visual Studio 2017 15.3 https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes-v15.3?#-visual-c-toolset-and-libraries As documented, the full VC build tools is 14.11.25503. If the VCVARSALL.bat is from a previous version, we should not pass the -vcvars_ver flag. Fixes https://github.com/bazelbuild/bazel/issues/8892 Related https://github.com/bazelbuild/bazel/issues/8353 RELNOTES: None PiperOrigin-RevId: 258523265
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.