[PATCH] D97387: propose Chocolately as package manager

Christian Kühnel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 07:29:26 PST 2021


kuhnel created this revision.
kuhnel requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97387

Files:
  llvm/docs/GettingStartedVS.rst


Index: llvm/docs/GettingStartedVS.rst
===================================================================
--- llvm/docs/GettingStartedVS.rst
+++ llvm/docs/GettingStartedVS.rst
@@ -57,6 +57,20 @@
 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 
+`Chocolately <https://chocolatey.org/>`_ as package manager. After the 
+`installation <https://chocolatey.org/install>`_ of Chocolately, 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
 ===============


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97387.326090.patch
Type: text/x-patch
Size: 1050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210224/b37b58ef/attachment.bin>


More information about the llvm-commits mailing list