summaryrefslogtreecommitdiff
path: root/docs/BuildingLibunwind.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/BuildingLibunwind.rst')
-rw-r--r--docs/BuildingLibunwind.rst12
1 files changed, 3 insertions, 9 deletions
diff --git a/docs/BuildingLibunwind.rst b/docs/BuildingLibunwind.rst
index 6aa4556..7f42133 100644
--- a/docs/BuildingLibunwind.rst
+++ b/docs/BuildingLibunwind.rst
@@ -18,16 +18,10 @@ edge), read on.
The basic steps needed to build libc++ are:
-#. Checkout LLVM:
+#. Checkout LLVM, libunwind, and related projects:
* ``cd where-you-want-llvm-to-live``
- * ``svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm``
-
-#. Checkout libunwind:
-
- * ``cd where-you-want-llvm-to-live``
- * ``cd llvm/runtimes``
- * ``svn co http://llvm.org/svn/llvm-project/libunwind/trunk libunwind``
+ * ``git clone https://github.com/llvm/llvm-project.git``
#. Configure and build libunwind:
@@ -38,7 +32,7 @@ The basic steps needed to build libc++ are:
* ``cd where you want to build llvm``
* ``mkdir build``
* ``cd build``
- * ``cmake -G <generator> [options] <path to llvm sources>``
+ * ``cmake -G <generator> -DLLVM_ENABLE_PROJECTS=libunwind [options] <path to llvm sources>``
For more information about configuring libunwind see :ref:`CMake Options`.