[llvm] 4532ab7 - propose Chocolately as package manager

Christian Kühnel via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 19 08:18:23 PDT 2021


Author: Christian Kühnel
Date: 2021-03-19T16:15:18+01:00
New Revision: 4532ab76c9e8577bb5b6697eca22d9a21b89304f

URL: https://github.com/llvm/llvm-project/commit/4532ab76c9e8577bb5b6697eca22d9a21b89304f
DIFF: https://github.com/llvm/llvm-project/commit/4532ab76c9e8577bb5b6697eca22d9a21b89304f.diff

LOG: 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

Added: 
    

Modified: 
    llvm/docs/GettingStartedVS.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/GettingStartedVS.rst b/llvm/docs/GettingStartedVS.rst
index 2ed4397ac39f..2178c41824ea 100644
--- a/llvm/docs/GettingStartedVS.rst
+++ b/llvm/docs/GettingStartedVS.rst
@@ -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.
 ``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 
diff erent from your host installation or to create build servers. 
 
 Getting Started
 ===============


        


More information about the llvm-commits mailing list