1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

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
This commit is contained in:
Christian Kühnel 2021-02-24 15:50:02 +01:00
parent aa37ff399b
commit b512b2d48c

View File

@ -57,6 +57,20 @@ need `GnuWin32 <http://gnuwin32.sourceforge.net/>`_ tools, too.
Do not install the LLVM directory tree into a path containing spaces (e.g. Do not install the LLVM directory tree into a path containing spaces (e.g.
``C:\Documents and Settings\...``) as the configure step will fail. ``C:\Documents and Settings\...``) as the configure step will fail.
To simplify the installation procedure, you can also use
`Chocolatey <https://chocolatey.org/>`_ as package manager. After the
`installation <https://chocolatey.org/install>`_ of Chocolatey, run these
commands in an admin shell to install the required tools:
.. code-block:: bat
choco install -y ninja git cmake gnuwin python3
pip3 install psutil
There is also a Windows
`Dockerfile <https://github.com/llvm/llvm-zorg/blob/main/buildbot/google/docker/windows-base-vscode2019/Dockerfile>`_
with the entire build tool chain. This can be used to test the build with a
tool chain different from your host installation or to create build servers.
Getting Started Getting Started
=============== ===============