www/hacking.html: Add blurb of LLVM_LIT_TOOLS_DIR.

llvm-svn: 127863
This commit is contained in:
NAKAMURA Takumi 2011-03-18 03:21:44 +00:00
parent 6048f80b1a
commit 2d60add66c
1 changed files with 12 additions and 4 deletions

View File

@ -162,17 +162,25 @@
Download the latest stable version (2.6.2 at the time of this writing).</p>
<p>The GnuWin32 tools are also necessary for running the tests.
(Note that the grep from MSYS or Cygwin doesn't work with the tests
because of embedded double-quotes in the search strings. The GNU
grep does work in this case.)
Get them from <a href="http://getgnuwin32.sourceforge.net/">
http://getgnuwin32.sourceforge.net/</a>.</p>
http://getgnuwin32.sourceforge.net/</a>.
If the environment variable <tt>%PATH%</tt> does not have GnuWin32,
or if other grep(s) supercedes GnuWin32 on <tt>%PATH%,</tt>
you should specify <tt>LLVM_LIT_TOOLS_DIR</tt>
to CMake explicitly.</p>
<p>The cmake build tool is set up to create Visual Studio project files
for running the tests, "clang-test" being the root. Therefore, to
run the test from Visual Studio, right-click the clang-test project
and select "Build".</p>
<p>
Please see also
<a href="http://llvm.org/docs/GettingStartedVS.html">Getting Started
with the LLVM System using Microsoft Visual Studio</a> and
<a href="http://llvm.org/docs/CMake.html">Building LLVM with CMake</a>.
</p>
<!--=====================================================================-->
<h3 id="testingCommands">Testing on the Command Line</h3>
<!--=====================================================================-->