Skip to content

Commit 0f8cb68

Browse files
committed
[lldb][Docs] Update the build guide
* gmake is needed on FreeBSD * pkg can install libxml2 on FreeBSD * Make the swig note into an RST note box.
1 parent dd547d5 commit 0f8cb68

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

lldb/docs/resources/build.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ scripting support.
3333
* `Python <http://www.python.org/>`_
3434
* `SWIG <http://swig.org/>`_ 4 or later.
3535

36+
If you are on FreeBSD or NetBSD, you will need to install ``gmake`` for building
37+
the test programs. On other platforms ``make`` is used.
38+
3639
.. _Optional Dependencies:
3740

3841
Optional Dependencies
@@ -71,16 +74,16 @@ commands below.
7174

7275
$ yum install libedit-devel libxml2-devel ncurses-devel python-devel swig
7376
$ sudo apt-get install build-essential swig python3-dev libedit-dev libncurses5-dev
74-
$ pkg install swig python
77+
$ pkg install swig python libxml2
7578
$ pkgin install swig python36 cmake ninja-build
7679
$ brew install swig cmake ninja
7780

78-
Note that there's an `incompatibility
79-
<https://github.com/swig/swig/issues/1321>`_ between Python version 3.7 and later
80-
and swig versions older than 4.0.0 which makes builds of LLDB using debug
81-
versions of python unusable. This primarily affects Windows, as debug builds of
82-
LLDB must use debug python as well.
83-
81+
.. note::
82+
There is an `incompatibility
83+
<https://github.com/swig/swig/issues/1321>`_ between Python version 3.7 and later
84+
and swig versions older than 4.0.0 which makes builds of LLDB using debug
85+
versions of python unusable. This primarily affects Windows, as debug builds of
86+
LLDB must use debug python as well.
8487

8588
Windows
8689
*******

0 commit comments

Comments
 (0)