Go to file
Andy Gibbs 3ef5ed1ec0 Provide bootstrap support to build only llvm+clang when using cmake.
Where a source tree is complete with lld, lldb and polly, it may not be possible to use cmake to configure build scripts if the host compiler it not capable of compiling these sub-projects.  This change makes it possible to first build a bootstrap clang compiler when can then be used to build a complete llvm toolchain.  An example bootstrap build sequence could be as follows:

$ mkdir bootstrap
$ cd bootstrap
$ cmake -G 'Unix Makefiles'
        -DCMAKE_BUILD_TYPE:STRING=Release
        -DCMAKE_PREFIX_PATH:STRING=$(pwd)
        -DLLVM_TARGETS_TO_BUILD:STRING=host
        -DLLVM_INCLUDE_TOOLS:STRING=bootstrap-only
        ../source
$ make clang  # build clang only for host

$ cd ..
$ export CC=$(realpath bootstrap/bin)/clang
$ export CXX=$(realpath bootstrap/bin)/clang++

$ mkdir final
$ cd final
$ cmake -G 'Unix Makefiles' ../source
$ make all check-all

llvm-svn: 184924
2013-06-26 08:05:08 +00:00
clang Remove unused include. 2013-06-26 06:15:57 +00:00
clang-tools-extra cpp11-migrate: Really fixing doxygen warning 2013-06-25 19:01:18 +00:00
compiler-rt Fix a use after free I introduced and that Bill caught in code review 2013-06-26 00:26:16 +00:00
debuginfo-tests Now that we get non-trivial value parameters locations correct, un-XFAIL these tests. 2013-06-19 22:07:11 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx Implement full support for non-pointer pointers in custom allocators for list. 2013-06-25 16:08:47 +00:00
libcxxabi I'd no sooner made the last commit when Matthew Dempsky sent me another test case that led me to yet another closely related test case that the current design could not handle. I've now changed the way forward references are handled completely. It wasn't that much code to change. The demangler, when confronted with a forward reference to a template parameter, now parses things twice. During the second parse, all forward references are remembered from the first parse. Test suite updated with new case. 2013-06-23 19:52:45 +00:00
lld [lld] rename member variable name. 2013-06-24 03:22:51 +00:00
lldb Remove ifdef LLDB_CONFIGURATION_DEBUG directives around the formatter 2013-06-26 01:51:03 +00:00
llvm Provide bootstrap support to build only llvm+clang when using cmake. 2013-06-26 08:05:08 +00:00
polly Update CLooG such that the isl test cases are really up to date 2013-06-24 07:38:29 +00:00