summaryrefslogtreecommitdiff
path: root/www/index.html
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-07-10 02:20:11 +0000
committerDan Albert <danalbert@google.com>2014-07-10 02:20:11 +0000
commitfd961bd8cdb57b57e8e34779a2b44db40cf4fb30 (patch)
tree30459e45f2b743ec328b1282d9556955e12898ad /www/index.html
parente11c1a7accabb346cbb6df59681675fe3f8d8ccb (diff)
Add lit configs for libcxxabi tests.
This makes running libcxxabi tests on Linux _much_ easier. Adds a check-libcxxabi target to cmake. Also defaults to building a dynamic libc++abi. This is so that the default options still test the libc++abi that is being built. There are two problems with testing a static libc++abi. In the case of a standalone build, the tests will link the system's libc++, which might not have been built against our libc++abi. In the case of an in tree build, libc++ will prefer a dynamic libc++abi from the system over a static libc++abi from the output directory. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@212672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www/index.html')
-rw-r--r--www/index.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/www/index.html b/www/index.html
index e7937fb..197e717 100644
--- a/www/index.html
+++ b/www/index.html
@@ -92,10 +92,19 @@
<ul>
<li><code>cd libcxxabi</code></li>
<li><code>mkdir build &amp;&amp; cd build</code></li>
- <li><code>cmake -DLIBCXXABI_LIBCXX_INCLUDES=path/to/libcxx/include .. # on linux you may need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++</code></li>
+ <li><code>cmake -DLIBCXXABI_LIBCXX_INCLUDES=path/to/libcxx/include .. # on
+ linux you may need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++</code></li>
<li><code>make</code></li>
</ul>
+ <p>To run the tests:</p>
+ <ul>
+ <li><code>make check-libcxxabi</code></li>
+ </ul>
+ <p>Note: in a standalone build, the system's libc++ will be used for tests. If
+ the system's libc++ was statically linked against libc++abi (or linked against
+ a different ABI library), this may interfere with test results.</p>
+
<p>Send discussions to the
(<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">clang mailing list</a>).</p>