Skip to content
  1. Jun 26, 2013
    • Andy Gibbs's avatar
      Provide bootstrap support to build only llvm+clang when using cmake. · 3ef5ed1e
      Andy Gibbs authored
      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
      3ef5ed1e
    • Rafael Espindola's avatar
      Port GetMainExecutable over to PathV2. · e03dfd9b
      Rafael Espindola authored
      I will remove the V1 version as soon as I change clang in the next commit.
      
      llvm-svn: 184914
      e03dfd9b
  2. Jun 25, 2013
  3. Jun 22, 2013
  4. Jun 21, 2013
  5. Jun 20, 2013
  6. Jun 19, 2013
Loading