diff options
author | Yun Peng <pcloudy@google.com> | 2016-09-28 14:22:34 +0000 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2016-09-28 16:06:26 +0000 |
commit | eb87208599cdb9ede31efe793485e9096ab4a773 (patch) | |
tree | d7b7f80537932f689d8a4c7a7545a58951b3edbc /site/versions/master/docs | |
parent | 8b88f64e92679543b48770bf530ca724a4d7214d (diff) |
Make cc_configure on Windows more robust
1. Throw an error if Bash-on-Windows is found instead of MSYS bash
2. Introduce BAZEL_VS environment variable
3. Output more information
Fix https://github.com/bazelbuild/bazel/issues/1847
--
Change-Id: Ic4571c6c792d9b81df4cd800b8f19d121cc44c33
Reviewed-on: https://bazel-review.googlesource.com/#/c/6330
MOS_MIGRATED_REVID=134531295
Diffstat (limited to 'site/versions/master/docs')
-rw-r--r-- | site/versions/master/docs/windows.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/site/versions/master/docs/windows.md b/site/versions/master/docs/windows.md index 61e6a89639..6904d8b3c2 100644 --- a/site/versions/master/docs/windows.md +++ b/site/versions/master/docs/windows.md @@ -48,6 +48,9 @@ To build C++ targets, you will need: <br/>We are using MSVC as the native C++ toolchain, so please ensure you have Visual Studio installed with the Visual C++ components (which is NOT the default installation type of Visual Studio). +You can set BAZEL\_VS environment variable to tell Bazel +where Visual Studio is, otherwise Bazel will try to find the latest version installed. +<br/>For example: `export BAZEL_VS="C:/Program Files (x86)/Microsoft Visual Studio 14.0"` * [Python 2.7](https://www.python.org/downloads/) <br/>Currently, we use python wrapper scripts to call the actual MSVC compiler, so |