Skip to content
Snippets Groups Projects
  1. Mar 21, 2017
  2. Mar 09, 2017
  3. Feb 17, 2017
  4. Feb 06, 2017
  5. Jan 31, 2017
    • Michal Gorny's avatar
      [cmake] Hint find_package() to prefer LLVM installed alongside clang · 53b77ccb
      Michal Gorny authored
      Include a path hint for find_package() in ClangConfig.cmake to ensure
      that CMake prefers LLVM installed alongside clang over the default
      search path.
      
      If two versions of LLVM are installed in the system, and one of them is
      in PATH, CMake's find_package() magic prefers the CMake directory
      alongside that install by default. Adding a relative hint makes it
      possible to prioritize to the install from which find_package() is
      called.
      
      If you want to build e.g. LLDB against another install of LLVM, you can
      pass LLVM_CONFIG override. In this case, LLDB queries the prefix from
      llvm-config and uses the CMake files located there. However, when
      including ClangConfig, the implicit find_package() nevertheless prefers
      PATH-found LLVM over the one used previously by LLDB, and two versions
      of LLVMConfig end up being loaded.
      
      This could be fixed on LLDB end up by explicitly forcing custom package
      search location. However, it seems simpler and safer to add a hint to
      ClangConfig than to track every usage of ClangConfig.
      
      Differential Revision: https://reviews.llvm.org/D29304
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@293632 91177308-0d34-0410-b5e6-96231b3b80d8
      53b77ccb
  6. Nov 08, 2016
  7. Oct 26, 2016
  8. Oct 20, 2016
  9. Oct 19, 2016
  10. Aug 17, 2016
  11. Aug 16, 2016
  12. Aug 15, 2016
  13. Jul 10, 2016
  14. Jul 09, 2016
  15. Jun 30, 2016
  16. Jun 29, 2016
  17. Jun 28, 2016
  18. May 09, 2016
  19. May 05, 2016
  20. May 03, 2016
  21. Apr 26, 2016
  22. Mar 23, 2016
  23. Mar 15, 2016
  24. Mar 14, 2016
  25. Feb 26, 2016
  26. Feb 19, 2016
  27. Feb 10, 2016
Loading