Skip to content

Commit

Permalink
Kill another reference to in-source builds
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249067 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
jroelofs committed Oct 1, 2015
1 parent 68754da commit 4f717f6
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions docs/WritingAnLLVMPass.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,11 @@ source tree in the ``lib/Transforms/Hello`` directory.
Setting up the build environment
--------------------------------

.. FIXME: Why does this recommend to build in-tree?
First, configure and build LLVM. This needs to be done directly inside the
LLVM source tree rather than in a separate objects directory. Next, you need
to create a new directory somewhere in the LLVM source base. For this example,
we'll assume that you made ``lib/Transforms/Hello``. Finally, you must set up
a build script (``Makefile``) that will compile the source code for the new
pass. To do this, copy the following into ``Makefile``:
First, configure and build LLVM. Next, you need to create a new directory
somewhere in the LLVM source base. For this example, we'll assume that you
made ``lib/Transforms/Hello``. Finally, you must set up a build script
(``Makefile``) that will compile the source code for the new pass. To do this,
copy the following into ``Makefile``:

.. code-block:: make
Expand Down

0 comments on commit 4f717f6

Please sign in to comment.