diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-12-19 16:44:32 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-12-19 16:44:32 +0000 |
| commit | e6d79ec0ebac350355c76d8132e9f1cce62e0cac (patch) | |
| tree | f43d09afe7f97ff797d5020306661e2f6ad6e7f3 /llvm/unittests/Support/ThreadLocalTest.cpp | |
| parent | 8e918c3c4d255cc4396e26f1498d003fda5879de (diff) | |
| download | llvm-e6d79ec0ebac350355c76d8132e9f1cce62e0cac.zip llvm-e6d79ec0ebac350355c76d8132e9f1cce62e0cac.tar.gz llvm-e6d79ec0ebac350355c76d8132e9f1cce62e0cac.tar.bz2 | |
[CMake][Standalone] Rewrite standalone build based on llvm-config. CLANG_PATH_TO_LLVM_*(s) are deprecated.
Checked on VS10(multiconfig) and some singleconfig builders.
* Assumptions
- You should specify llvm-config as LLVM_CONFIG.
CMake could find one in $PATH by default.
- ENABLE_ASSERTIONS obeys LLVM's.
* Use cases
a) With LLVM build tree
Assume llvm-config is in your build tree.
Everything should work as ever.
b) With *installed* LLVM
Assume distributions. The source tree can be optional.
b1) The source tree is provided on the location `llvm-config --src-root`
- Test utils, FileCheck &c., are imported and built in the new tree.
- Gtest is built in the tree if gtest library is not found.
- Lit is used in $(SRCROOT)/utils/lit/lit.py.
b2) The source tree is not provided
- clang and utilities can be built.
- All tests, unittests and check-clang are invalidated and not built.
llvm-svn: 197697
Diffstat (limited to 'llvm/unittests/Support/ThreadLocalTest.cpp')
0 files changed, 0 insertions, 0 deletions
