Skip to content

Commit e2d46a7

Browse files
fixup! [docs][lldb] update the Windows tools instructions
1 parent 09485ce commit e2d46a7

File tree

1 file changed

+26
-18
lines changed

1 file changed

+26
-18
lines changed

lldb/docs/resources/build.rst

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -95,31 +95,29 @@ commands below.
9595
Windows
9696
*******
9797

98-
99-
* `SWIG for Windows <http://www.swig.org/download.html>`_
100-
10198
The steps outlined here describe how to set up your system and install the
102-
required dependencies such that they can be found when needed during the build
103-
process. They only need to be performed once.
99+
required dependencies for building and testing LLDB on Windows. They only need
100+
to be performed once.
101+
102+
Build Requirements
103+
^^^^^^^^^^^^^^^^^^
104104

105-
#. Install `Visual Studio <https://visualstudio.microsoft.com>` with the
105+
1. Install `Visual Studio <https://visualstudio.microsoft.com>` with the
106106
"Desktop Development with C++" workload. Make sure that the latest Windows
107107
SDK and the Active Template Library (ATL) are installed.
108-
#. If you plan to debug test failures or even write new tests at all,
109-
`Python Tools for Visual Studio <https://github.com/Microsoft/PTVS/>`_ is an
110-
indispensable debugging extension to Visual Studio which enables full
111-
editing and debugging support for Python (including mixed native/managed
112-
debugging).
113-
#. Install `Git Bash <https://git-scm.com/install/windows>`_ and add
108+
2. Install `Git Bash <https://git-scm.com/install/windows>`_ and add
114109
``<Git install dir>\usr\bin`` to your ``PATH``. Verify that utilities like
115-
``dirname`` and ``make`` are available from your terminal.
116-
#. Install `Python 3 <https://www.python.org/downloads/windows/>`_ from the
117-
standalone installer and include the debug libraries in the install. Make
118-
sure ``python`` is added to your ``PATH``.
119-
#. Install `SWIG for Windows <http://www.swig.org/download.html>`_. Make sure
110+
``dirname`` are available from your terminal.
111+
3. Install `make <https://sourceforge.net/projects/ezwinports/files/>`_ and
112+
verify that it's in your ``PATH``.
113+
4. Install `Python 3 <https://www.python.org/downloads/windows/>`_ from the
114+
GUI installer. If you will be building LLDB in Debug mode, **include the
115+
debug libraries** during the install. Make sure ``python`` is added to your
116+
``PATH``.
117+
5. Install `SWIG for Windows <http://www.swig.org/download.html>`_. Make sure
120118
``swig`` is added to your ``PATH`` and that ``swig -swiglib`` points to the
121119
correct directory.
122-
#. Register the Debug Interface Access DLLs with the Registry from a privileged
120+
6. Register the Debug Interface Access DLLs with the Registry from a privileged
123121
terminal.
124122

125123
::
@@ -133,6 +131,16 @@ Prompt for VS <https://docs.microsoft.com/en-us/visualstudio/ide/reference/comma
133131
corresponding to the version you wish to use or run ``vcvarsall.bat`` or
134132
``VsDevCmd.bat``.
135133

134+
Test Requirements
135+
^^^^^^^^^^^^^^^^^
136+
137+
If you plan to debug test failures or write new tests:
138+
139+
* Install `Python Tools for Visual Studio <https://github.com/Microsoft/PTVS/>`_,
140+
an indispensable debugging extension to Visual Studio which enables full
141+
editing and debugging support for Python (including mixed native/managed
142+
debugging).
143+
136144
macOS
137145
*****
138146

0 commit comments

Comments
 (0)