Skip to content
  1. Oct 17, 2011
  2. Aug 31, 2011
  3. Jul 29, 2011
    • Chandler Carruth's avatar
      Rewrite the CMake build to use explicit dependencies between libraries, · 9d7feab3
      Chandler Carruth authored
      specified in the same file that the library itself is created. This is
      more idiomatic for CMake builds, and also allows us to correctly specify
      dependencies that are missed due to bugs in the GenLibDeps perl script,
      or change from compiler to compiler. On Linux, this returns CMake to
      a place where it can relably rebuild several targets of LLVM.
      
      I have tried not to change the dependencies from the ones in the current
      auto-generated file. The only places I've really diverged are in places
      where I was seeing link failures, and added a dependency. The goal of
      this patch is not to start changing the dependencies, merely to move
      them into the correct location, and an explicit form that we can control
      and change when necessary.
      
      This also removes a serialization point in the build because we don't
      have to scan all the libraries before we begin building various tools.
      We no longer have a step of the build that regenerates a file inside the
      source tree. A few other associated cleanups fall out of this.
      
      This isn't really finished yet though. After talking to dgregor he urged
      switching to a single CMake macro to construct libraries with both
      sources and dependencies in the arguments. Migrating from the two macros
      to that style will be a follow-up patch.
      
      Also, llvm-config is still generated with GenLibDeps.pl, which means it
      still has slightly buggy dependencies. The internal CMake
      'llvm-config-like' macro uses the correct explicitly specified
      dependencies however. A future patch will switch llvm-config generation
      (when using CMake) to be based on these deps as well.
      
      This may well break Windows. I'm getting a machine set up now to dig
      into any failures there. If anyone can chime in with problems they see
      or ideas of how to solve them for Windows, much appreciated.
      
      llvm-svn: 136433
      9d7feab3
  4. Jun 16, 2011
  5. Mar 01, 2011
  6. Feb 28, 2011
  7. Jan 03, 2011
  8. Dec 26, 2010
  9. Oct 08, 2010
  10. Sep 29, 2010
  11. Sep 14, 2010
  12. Sep 10, 2010
  13. Aug 31, 2010
  14. Aug 28, 2010
  15. Aug 03, 2010
  16. May 07, 2010
  17. Apr 13, 2010
  18. Feb 09, 2010
  19. Jan 04, 2010
  20. Nov 11, 2009
  21. Oct 31, 2009
  22. Oct 28, 2009
  23. Oct 27, 2009
  24. Oct 26, 2009
  25. Oct 06, 2009
  26. Oct 01, 2009
  27. Sep 17, 2009
  28. Jun 26, 2009
  29. Nov 05, 2008
  30. Sep 22, 2008
Loading