Justin Lebar
d9c5bfba17
Enable in-tree builds of parallel-libs.
...
Summary:
parallel-libs needs its own changes to make this work; these are just
the LLVM changes.
Reviewers: jhen
Subscribers: llvm-commits, beanz, jprice
Differential Revision: https://reviews.llvm.org/D24402
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281097 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-09 21:34:12 +00:00
Chris Bieneman
6e6a508cb9
[CMake] Disable adding the test suite as a projects subdirectory
...
This will never work as an add_subdirectory call, so we should just make sure it doesn't happen. To do this properly we'll need to add it under clang similar to the external compiler-rt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251543 91177308-0d34-0410-b5e6-96231b3b80d8
2015-10-28 18:36:56 +00:00
Saleem Abdulrasool
2b08044287
build: make libunwind a proper project
...
This allows the build infrastructure to properly detect and build libunwind.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235796 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-25 01:47:39 +00:00
Eric Fiselier
e4c5d93c76
Reverse the order libc++ and libc++abi are added in CMake.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231190 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-04 01:16:43 +00:00
Chandler Carruth
168d0c1430
[cmake] Use the external project machinery for libcxxabi so that it can
...
be disabled in CMake or relocated if desired.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213936 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-25 10:27:40 +00:00
Alexey Samsonov
9e443ca92a
[CMake] Introduce LLVM_BUILD_EXTERNAL_COMPILER_RT option
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202363 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-27 08:59:01 +00:00
Rafael Espindola
56d34914b2
Remove dead code, we already require cmake 2.8.8.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201495 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-16 14:36:26 +00:00
NAKAMURA Takumi
3056ce593d
llvm/projects/CMakeLists.txt: Add dragonegg.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199995 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-24 12:53:08 +00:00
Chandler Carruth
fd1b799eb9
Disable libc++ building by default with CMake with MSVC -- some bots
...
aren't yet happy with this config.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191811 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-02 06:25:57 +00:00
Chandler Carruth
2f101e83b2
Enable libcxx as part of the top level CMake build when it is checked
...
out in projects. This appears to be working on my system, and I will be
watching build bots to see if there are any issues on other platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191624 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-28 18:17:10 +00:00
Alexey Samsonov
5c4e83626c
Print a warning message if compiler-rt can't be built because of old CMake version to make this requirement more visible to users
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176481 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-05 14:43:07 +00:00
NAKAMURA Takumi
0ed9b8e0bf
[CMake] Introduce LLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166552 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-24 12:26:08 +00:00
Michael J. Spencer
0543c147df
[CMake] Respect LLVM_BUILD_RUNTIME.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164424 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-21 22:49:06 +00:00
Chandler Carruth
d9f3dd96b2
Enable recursing into the compiler-rt projcet with the CMake build.
...
This only fires if using a recent enough CMake -- compiler-rt uses a few
of the more advanced features that not everyone needs.
Please let me know if anyone sees issues with this. I'll be updating
documentation and other stuff to tell people about this.
Many thanks to Alexey for doing a ton of work to get ASan's CMake build
into a really fantastic shape. =]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162815 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-29 00:38:02 +00:00
Chandler Carruth
eb2dea2c3c
Exclude both libcxx and compiler-rt until we get their CMake builds
...
suitable for building as a whole-project.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159241 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-27 00:30:08 +00:00
Oscar Fuentes
f6814754e8
CMake: Fixed syntax in conditional.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96221 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-15 15:17:05 +00:00
Daniel Dunbar
50a5aa19ca
CMake: Don't try to descend into projects/compiler-rt, it doesn't work.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94187 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-22 18:14:27 +00:00
Oscar Fuentes
5c6bf65a09
CMake: auto-discover project files under the projects/ subdirectory.
...
Patch by Viktar Zviarovich!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66230 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-06 01:16:52 +00:00