llvm-6502/tools
Andy Gibbs 0259c0cde5 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184924 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-26 08:05:08 +00:00
..
bugpoint Port GetMainExecutable over to PathV2. 2013-06-26 05:01:35 +00:00
bugpoint-passes
gold Fix the build with gcc 4.7 and -std=c++11. 2013-06-17 22:24:06 +00:00
llc Test commit access. 2013-06-19 02:26:00 +00:00
lli Print uint64_t -debug text correctly on 32-bit hosts 2013-05-19 09:55:06 +00:00
llvm-ar Create the file with the right permissions instead of setting it afterwards. 2013-06-22 02:34:24 +00:00
llvm-as
llvm-bcanalyzer keep only the StringRef version of getFileOrSTDIN. 2013-06-25 05:28:34 +00:00
llvm-config Port GetMainExecutable over to PathV2. 2013-06-26 05:01:35 +00:00
llvm-cov
llvm-diff
llvm-dis
llvm-dwarfdump llvm-dwarfdump: Add support for dumping the .debug_loc section 2013-06-19 21:37:13 +00:00
llvm-extract
llvm-jitlistener
llvm-link Don't use PathV1.h in llvm-link. 2013-06-17 17:32:19 +00:00
llvm-mc Use pointers to the MCAsmInfo and MCRegInfo. 2013-06-18 07:20:20 +00:00
llvm-mcmarkup
llvm-nm Basic support for parsing Mach-O universal binaries in LLVMObject library 2013-06-18 15:03:28 +00:00
llvm-objdump keep only the StringRef version of getFileOrSTDIN. 2013-06-25 05:28:34 +00:00
llvm-prof
llvm-readobj Don't link with the archive library programs that don't use it. 2013-06-17 15:29:46 +00:00
llvm-rtdyld Minor changes to the MCJITTest unittests to use the correct API for finalizing 2013-05-17 10:01:46 +00:00
llvm-shlib Remove "-Wl,-seg1addr -Wl,0xE0000000" from link options. 2013-06-04 15:26:37 +00:00
llvm-size
llvm-stress
llvm-symbolizer [llvm-symbolizer] rewrite r183213 in a more clear way 2013-06-07 15:25:27 +00:00
lto Use pointers to the MCAsmInfo and MCRegInfo. 2013-06-18 07:20:20 +00:00
macho-dump Teach llvm-objdump with the -macho parser how to use the data in code table 2013-06-06 17:20:50 +00:00
obj2yaml Don't link with the archive library programs that don't use it. 2013-06-17 15:29:46 +00:00
opt Remove the simplify-libcalls pass (finally) 2013-06-20 19:48:07 +00:00
yaml2obj [yaml2obj][ELF] Make symbol table top-level key. 2013-06-22 01:38:00 +00:00
CMakeLists.txt Provide bootstrap support to build only llvm+clang when using cmake. 2013-06-26 08:05:08 +00:00
LLVMBuild.txt Remove the LLVM specific archive index. 2013-06-14 23:25:53 +00:00
Makefile Remove the LLVM specific archive index. 2013-06-14 23:25:53 +00:00