diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2018-06-10 23:24:26 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-10 23:25:38 -0700 |
commit | a7e0c75cc758438e247943dd47cd2a38a689cb7d (patch) | |
tree | 0cc98edf88cefb8ea40cb02cf09f578030b5fe6a /site/docs/install-compile-source.md | |
parent | 52175bd0160076ae45a8d6927964827ef09f7752 (diff) |
docs,windows: emphasize that BAZEL_VS != BAZEL_VC
Fixes https://github.com/bazelbuild/bazel/issues/5272
Change-Id: Ia49c084f1fe036ff0e5b18fea096f31642cf8b5b
Closes #5280.
Change-Id: Ia49c084f1fe036ff0e5b18fea096f31642cf8b5b
PiperOrigin-RevId: 200005785
Diffstat (limited to 'site/docs/install-compile-source.md')
-rw-r--r-- | site/docs/install-compile-source.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/site/docs/install-compile-source.md b/site/docs/install-compile-source.md index 1edfca04cd..7bea209861 100644 --- a/site/docs/install-compile-source.md +++ b/site/docs/install-compile-source.md @@ -85,9 +85,9 @@ Bazel binary, without an embedded JDK. You can copy it to a directory in the 1. Open the MSYS2 shell. 2. Set the following environment variables: - * `BAZEL_VS` or `BAZEL_VC`: Set to the path to the Visual Studio directory - or to the Visual C++ directory, respectively. Setting one of them is - enough. + * Either `BAZEL_VS` or `BAZEL_VC` (they are *not* the same): Set to the + path to the Visual Studio directory (BAZEL\_V<b>S</b>) or to the Visual + C++ directory (BAZEL\_V<b>C</b>). Setting one of them is enough. * `BAZEL_SH`: Set to the path of the MSYS2 `bash.exe`. Do not set this to `C:\Windows\System32\bash.exe`. (You have that file @@ -96,7 +96,7 @@ Bazel binary, without an embedded JDK. You can copy it to a directory in the * `PATH`: Add the Python directory. * `JAVA_HOME`: Set to the JDK directory. - For example: + For example (using BAZEL\_V<b>S</b>): export BAZEL_VS="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools" export BAZEL_SH="C:/msys64/usr/bin/bash.exe" @@ -104,7 +104,7 @@ Bazel binary, without an embedded JDK. You can copy it to a directory in the export JAVA_HOME="C:/Program Files/Java/jdk1.8.0_112" - or + or (using BAZEL\_V<b>C</b>): export BAZEL_VC="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC" export BAZEL_SH="c:/msys64/usr/bin/bash.exe" |