aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/windows.md
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2016-02-24 15:27:01 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2016-02-24 18:03:32 +0000
commit24039de8ddf8015d649b12cc42f71a97306f61fb (patch)
treef798dcffa701da68e1a052569bd54956c6f84d33 /site/docs/windows.md
parentb35cd38015f3b354ef36328e58e074421b15d007 (diff)
Add zlib-devel to the set of pacman packages we ask people to install on Windows.
Also make windows.md a bit nicer in general. -- MOS_MIGRATED_REVID=115449272
Diffstat (limited to 'site/docs/windows.md')
-rw-r--r--site/docs/windows.md17
1 files changed, 10 insertions, 7 deletions
diff --git a/site/docs/windows.md b/site/docs/windows.md
index d56c794620..f12229fdf0 100644
--- a/site/docs/windows.md
+++ b/site/docs/windows.md
@@ -10,24 +10,27 @@ Windows support is highly experimental. Known issues are [marked with
label "Windows"](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+is%3Aopen+label%3AWindows)
on github issues.
-We currently support only 64bit Windows 7 or higher.
+We currently support only 64 bit Windows 7 or higher and we can only compile
+msys2 binaries.
+
To bootstrap Bazel on Windows, you will need:
* Java JDK 8 or later
-* [msys2](https://msys2.github.io/) (need to be installed at ``C:\msys64\``).
-* Several MSYS packages (gcc, git, curl, zip, unzip): use ``pacman`` command
- to install those.
+* [msys2](https://msys2.github.io/) (need to be installed at
+ ``C:\tools\msys64\``).
+* Several msys2 packages. Use the ``pacman`` command to install them:
+ ``pacman -S gcc git curl zip unzip zlib-devel``
To build Bazel:
-* Open MSYS2 shell.
-* Clone bazel git repository as normal.
+* Open the msys2 shell.
+* Clone the Bazel git repository as normal.
* Set the environment variables:
```bash
export JAVA_HOME="$(ls -d C:/Program\ Files/Java/jdk* | sort | tail -n 1)"
export TMPDIR=c:/temp
-export BAZEL_SH=c:/msys64/usr/bin/bash.exe
+export BAZEL_SH=c:/tools/msys64/usr/bin/bash.exe
```
* Run ``compile.sh`` in Bazel directory.