forked from OSchip/llvm-project
Add instructions for building clang while building llvm.
llvm-svn: 46881
This commit is contained in:
parent
707b07ccf9
commit
6aa87cbb63
|
@ -100,6 +100,18 @@ is:</p>
|
|||
</ul>
|
||||
</ol>
|
||||
|
||||
<h3>Building clang while building llvm:</h3>
|
||||
<p>Since you've checked out clang into the llvm source tree you can
|
||||
build them all at once with a simple Makefile change. This moves
|
||||
Step 1 above to Step 4.</p>
|
||||
<ul>
|
||||
<li><tt>cd llvm/tools</tt></li>
|
||||
<li>then edit <tt>Makefile</tt> to have a clang target in <tt>PARALLEL_DIRS</tt>
|
||||
just like <tt>llvm-config</tt></li>
|
||||
<li>then just build llvm normally as above and clang will build at
|
||||
the same time</li>
|
||||
</ul>
|
||||
|
||||
<p>Note that the C front-end uses LLVM, but does not depend on
|
||||
llvm-gcc. If you encounter problems with building clang, make
|
||||
sure you have the latest SVN version of LLVM. LLVM contains
|
||||
|
|
Loading…
Reference in New Issue