diff options
author | Dan Albert <danalbert@google.com> | 2014-07-10 02:20:11 +0000 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-07-10 02:20:11 +0000 |
commit | a770f9d66b9508c42c729f8d2200c4d11a2b7484 (patch) | |
tree | 4fddb17f0b6c0722e1b1399d7aaed0ca94650bd3 /libcxxabi/www | |
parent | 8c074015047cf88fea703d981ba214d895a744d3 (diff) | |
download | llvm-a770f9d66b9508c42c729f8d2200c4d11a2b7484.zip llvm-a770f9d66b9508c42c729f8d2200c4d11a2b7484.tar.gz llvm-a770f9d66b9508c42c729f8d2200c4d11a2b7484.tar.bz2 |
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.
llvm-svn: 212672
Diffstat (limited to 'libcxxabi/www')
-rw-r--r-- | libcxxabi/www/index.html | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libcxxabi/www/index.html b/libcxxabi/www/index.html index e7937fb..197e717 100644 --- a/libcxxabi/www/index.html +++ b/libcxxabi/www/index.html @@ -92,10 +92,19 @@ <ul> <li><code>cd libcxxabi</code></li> <li><code>mkdir build && 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> |