Skip to content
Snippets Groups Projects
  1. Nov 10, 2011
  2. Nov 02, 2011
  3. Oct 28, 2011
  4. Jul 29, 2011
    • Chandler Carruth's avatar
      Rewrite the CMake build to use explicit dependencies between libraries, · ac03e736
      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.
      
      git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136433 91177308-0d34-0410-b5e6-96231b3b80d8
      ac03e736
  5. Apr 05, 2011
  6. Apr 01, 2011
  7. Mar 19, 2011
  8. Feb 22, 2011
  9. Feb 18, 2011
  10. Jan 27, 2011
  11. Oct 02, 2010
  12. Sep 13, 2010
  13. Sep 10, 2010
  14. Aug 15, 2010
  15. Feb 23, 2010
  16. Nov 07, 2009
  17. Oct 04, 2009
  18. Sep 22, 2009
  19. Sep 16, 2009
  20. Aug 14, 2009
  21. Aug 12, 2009
  22. Jun 03, 2009
  23. May 27, 2009
  24. Apr 08, 2009
  25. Apr 04, 2009
  26. Apr 03, 2009
  27. Mar 16, 2009
  28. Jan 07, 2009
  29. Nov 15, 2008
  30. Nov 11, 2008
  31. Nov 09, 2008
Loading