forked from OSchip/llvm-project
Modified instructions to configure llvm-test by configure llvm with the Path --with-llvmgccdir set.
llvm-svn: 44390
This commit is contained in:
parent
8f342f8ef3
commit
8460374e30
|
@ -152,8 +152,9 @@ programs), run the <tt>llvm-test</tt> tests:</p>
|
||||||
<pre>
|
<pre>
|
||||||
% cd llvm/projects
|
% cd llvm/projects
|
||||||
% svn co http://llvm.org/svn/llvm-project/test-suite/trunk llvm-test
|
% svn co http://llvm.org/svn/llvm-project/test-suite/trunk llvm-test
|
||||||
% cd llvm-test
|
% cd ..
|
||||||
% ./configure --with-llvmsrc=$LLVM_SRC_ROOT --with-llvmobj=$LLVM_OBJ_ROOT
|
% ./configure --with-llvmgccdir=$LLVM_GCC_DIR
|
||||||
|
% cd projects/llvm-test
|
||||||
% gmake
|
% gmake
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -694,37 +695,20 @@ directory to run them.</p>
|
||||||
|
|
||||||
<p>This will get the test suite into <tt>llvm/projects/llvm-test</tt></p>
|
<p>This will get the test suite into <tt>llvm/projects/llvm-test</tt></p>
|
||||||
|
|
||||||
<li><p>Configure the test suite. You can do this one of two ways:</p>
|
<li><p>Configure the test suite using llvm configure. This will automatically configure llvm-test.
|
||||||
|
You must do it from the top level otherwise llvm-gcc will not be set which is required to
|
||||||
<ol>
|
run llvm-test.:</p>
|
||||||
<li>Use the regular llvm configure:<br/><br/>
|
|
||||||
|
|
||||||
<div class="doc_code">
|
<div class="doc_code">
|
||||||
<pre>
|
<pre>
|
||||||
% cd $LLVM_OBJ_ROOT ; $LLVM_SRC_ROOT/configure
|
% cd $LLVM_OBJ_ROOT ; $LLVM_SRC_ROOT/configure --with-llvmgccdir=$LLVM_GCC_DIR
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>This will ensure that the <tt>projects/llvm-test</tt> directory is
|
|
||||||
also properly configured.</p></li>
|
|
||||||
|
|
||||||
<li><p>Use the <tt>configure</tt> script found in the <tt>llvm-test</tt>
|
|
||||||
source directory:</p>
|
|
||||||
|
|
||||||
<div class="doc_code">
|
|
||||||
<pre>
|
|
||||||
% $LLVM_SRC_ROOT/projects/llvm-test/configure \
|
|
||||||
--with-llvmsrc=$LLVM_SRC_ROOT \
|
|
||||||
--with-llvmobj=$LLVM_OBJ_ROOT
|
|
||||||
</pre>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
</ol>
|
|
||||||
<li><tt>gmake</tt></li>
|
<li><tt>gmake</tt></li>
|
||||||
</ol>
|
</ol>
|
||||||
<p>Note that the second and third steps only need to be done once. After you
|
<p>Note that the second and third steps only need to be done once. After you
|
||||||
have the suite checked out and configured, you don't need to do it again (unless
|
have the suite checked out and configured, you don't need to do it again (unless
|
||||||
the test code or configure script changes).</p>
|
the test code or configure script changes). $LLVM_GCC_DIR is the path to the LLVM
|
||||||
|
C/C++ FrontEnd</p>
|
||||||
|
|
||||||
<p>To make a specialized test (use one of the
|
<p>To make a specialized test (use one of the
|
||||||
<tt>llvm-test/TEST.<type>.Makefile</tt>s), just run:</p>
|
<tt>llvm-test/TEST.<type>.Makefile</tt>s), just run:</p>
|
||||||
|
|
Loading…
Reference in New Issue