Skip to content

Commit 4532ab7

Browse files
propose Chocolately as package manager
Installing the Unix tools on Windows is quite painful. To make things easier, I explained how to use a package manager or a Docker image. Note: This still uses the GNUWin tools as explained on this page. Once we replace these with something else, we would also need to update the installation commands. Differential Revision: https://reviews.llvm.org/D97387
1 parent 7255747 commit 4532ab7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

llvm/docs/GettingStartedVS.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,20 @@ need `GnuWin32 <http://gnuwin32.sourceforge.net/>`_ tools, too.
5757
Do not install the LLVM directory tree into a path containing spaces (e.g.
5858
``C:\Documents and Settings\...``) as the configure step will fail.
5959

60+
To simplify the installation procedure, you can also use
61+
`Chocolatey <https://chocolatey.org/>`_ as package manager. After the
62+
`installation <https://chocolatey.org/install>`_ of Chocolatey, run these
63+
commands in an admin shell to install the required tools:
64+
65+
.. code-block:: bat
66+
67+
choco install -y ninja git cmake gnuwin python3
68+
pip3 install psutil
69+
70+
There is also a Windows
71+
`Dockerfile <https://github.com/llvm/llvm-zorg/blob/main/buildbot/google/docker/windows-base-vscode2019/Dockerfile>`_
72+
with the entire build tool chain. This can be used to test the build with a
73+
tool chain different from your host installation or to create build servers.
6074

6175
Getting Started
6276
===============

0 commit comments

Comments
 (0)