summaryrefslogtreecommitdiff
path: root/docs/GettingStarted.rst
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2013-03-24 15:15:19 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2013-03-24 15:15:19 +0000
commit9c22886a0105241b7bdc0f77a61bcae36e586a41 (patch)
tree161cc1056f681f8b6a68296ee536f443020009e7 /docs/GettingStarted.rst
parent6f7becfe23f38e8c28e9422d883263974058aeed (diff)
downloadllvm-9c22886a0105241b7bdc0f77a61bcae36e586a41.tar.gz
llvm-9c22886a0105241b7bdc0f77a61bcae36e586a41.tar.bz2
llvm-9c22886a0105241b7bdc0f77a61bcae36e586a41.tar.xz
GettingStarted: Add Git clone instructions for compiler-rt and test-suite
Contributed-by: Thomas Schwinge <thomas@codesourcery.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/GettingStarted.rst')
-rw-r--r--docs/GettingStarted.rst19
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/GettingStarted.rst b/docs/GettingStarted.rst
index 539c75e2d7..e005101c4d 100644
--- a/docs/GettingStarted.rst
+++ b/docs/GettingStarted.rst
@@ -538,10 +538,23 @@ If you want to check out clang too, run:
.. code-block:: console
- % git clone http://llvm.org/git/llvm.git
% cd llvm/tools
% git clone http://llvm.org/git/clang.git
+If you want to check out compiler-rt too, run:
+
+.. code-block:: console
+
+ % cd llvm/projects
+ % git clone http://llvm.org/git/compiler-rt.git
+
+If you want to check out the Test Suite Source Code (optional), run:
+
+.. code-block:: console
+
+ % cd llvm/projects
+ % git clone http://llvm.org/git/test-suite.git
+
Since the upstream repository is in Subversion, you should use ``git
pull --rebase`` instead of ``git pull`` to avoid generating a non-linear history
in your clone. To configure ``git pull`` to pass ``--rebase`` by default on the
@@ -626,6 +639,8 @@ To set up clone from which you can submit code using ``git-svn``, run:
% git config svn-remote.svn.fetch :refs/remotes/origin/master
% git svn rebase -l
+Likewise for compiler-rt and test-suite.
+
To update this clone without generating git-svn tags that conflict with the
upstream git repo, run:
@@ -638,6 +653,8 @@ upstream git repo, run:
git checkout master &&
git svn rebase -l)
+Likewise for compiler-rt and test-suite.
+
This leaves your working directories on their master branches, so you'll need to
``checkout`` each working branch individually and ``rebase`` it on top of its
parent branch.