summaryrefslogtreecommitdiffstats
path: root/llvm/docs/GettingStarted.rst
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-12-10 05:45:58 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-12-10 05:45:58 +0000
commit860435c8e2cac287ef0e5ea364ef97e559d93a65 (patch)
treeff7c861d38abdbdc92fb33d6d45d9ebaa2698238 /llvm/docs/GettingStarted.rst
parentf6dfdb361f87b7d7ba0f57ddbb2d38eab157c606 (diff)
downloadbcm5719-llvm-860435c8e2cac287ef0e5ea364ef97e559d93a65.tar.gz
bcm5719-llvm-860435c8e2cac287ef0e5ea364ef97e559d93a65.zip
[OPENMP] Make -fopenmp to turn on OpenMP support by default.
Patch turns on OpenMP support in clang by default after fixing OpenMP buildbots. Differential Revision: http://reviews.llvm.org/D13802 llvm-svn: 255222
Diffstat (limited to 'llvm/docs/GettingStarted.rst')
-rw-r--r--llvm/docs/GettingStarted.rst17
1 files changed, 15 insertions, 2 deletions
diff --git a/llvm/docs/GettingStarted.rst b/llvm/docs/GettingStarted.rst
index 8fb4daa5e26..c0741f1400c 100644
--- a/llvm/docs/GettingStarted.rst
+++ b/llvm/docs/GettingStarted.rst
@@ -55,6 +55,12 @@ Here's the short story for getting up and running quickly with LLVM:
* ``cd llvm/projects``
* ``svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt``
+#. Checkout Libomp (required for OpenMP support):
+
+ * ``cd where-you-want-llvm-to-live``
+ * ``cd llvm/projects``
+ * ``svn co http://llvm.org/svn/llvm-project/openmp/trunk openmp``
+
#. Checkout libcxx and libcxxabi **[Optional]**:
* ``cd where-you-want-llvm-to-live``
@@ -535,6 +541,13 @@ If you want to check out compiler-rt (required to build the sanitizers), run:
% cd llvm/projects
% git clone http://llvm.org/git/compiler-rt.git
+If you want to check out libomp (required for OpenMP support), run:
+
+.. code-block:: console
+
+ % cd llvm/projects
+ % git clone http://llvm.org/git/openmp.git
+
If you want to check out libcxx and libcxxabi (optional), run:
.. code-block:: console
@@ -634,7 +647,7 @@ 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.
+Likewise for compiler-rt, libomp and test-suite.
To update this clone without generating git-svn tags that conflict with the
upstream Git repo, run:
@@ -648,7 +661,7 @@ upstream Git repo, run:
git checkout master &&
git svn rebase -l)
-Likewise for compiler-rt and test-suite.
+Likewise for compiler-rt, libomp 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
OpenPOWER on IntegriCloud