Skip to content

Commit

Permalink
[doc] simplify the doc on compiling CUDA
Browse files Browse the repository at this point in the history
CUDA support doesn't reply on temporary patches any more. Thanks Artem!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253427 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Jingyue Wu committed Nov 18, 2015
1 parent dd65ba2 commit 446c5db
Showing 1 changed file with 3 additions and 26 deletions.
29 changes: 3 additions & 26 deletions docs/CompileCudaWithLLVM.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ familiarity with CUDA. Information about CUDA programming can be found in the
How to Build LLVM with CUDA Support
===================================

The support for CUDA is still in progress and temporarily relies on `this patch
<http://reviews.llvm.org/D14452>`_. Below is a quick summary of downloading and
building LLVM with CUDA support. Consult the `Getting Started
<http://llvm.org/docs/GettingStarted.html>`_ page for more details on setting
up LLVM.
Below is a quick summary of downloading and building LLVM. Consult the `Getting
Started <http://llvm.org/docs/GettingStarted.html>`_ page for more details on
setting up LLVM.

#. Checkout LLVM

Expand All @@ -39,27 +37,6 @@ up LLVM.
$ cd llvm/tools
$ svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
#. Apply the temporary patch for CUDA support.

If you have installed `Arcanist
<http://llvm.org/docs/Phabricator.html#requesting-a-review-via-the-command-line>`_,
you can apply this patch using

.. code-block:: console
$ cd where-you-want-llvm-to-live
$ cd llvm/tools/clang
$ arc patch D14452
Otherwise, go to `its review page <http://reviews.llvm.org/D14452>`_,
download the raw diff, and apply it manually using

.. code-block:: console
$ cd where-you-want-llvm-to-live
$ cd llvm/tools/clang
$ patch -p0 < D14452.diff
#. Configure and build LLVM and Clang

.. code-block:: console
Expand Down

0 comments on commit 446c5db

Please sign in to comment.