Skip to content
Snippets Groups Projects
  1. May 25, 2017
  2. May 11, 2017
  3. May 10, 2017
  4. May 09, 2017
  5. Apr 21, 2017
  6. Apr 13, 2017
  7. Apr 08, 2017
  8. Apr 04, 2017
  9. Mar 21, 2017
  10. Mar 09, 2017
  11. Feb 17, 2017
  12. Feb 06, 2017
  13. 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
  14. Nov 08, 2016
  15. Oct 26, 2016
  16. Oct 20, 2016
  17. Oct 19, 2016
  18. Aug 17, 2016
  19. Aug 16, 2016
  20. Aug 15, 2016
  21. Jul 10, 2016
  22. Jul 09, 2016
  23. Jun 30, 2016
  24. Jun 29, 2016
  25. Jun 28, 2016
  26. May 09, 2016
  27. May 05, 2016
  28. May 03, 2016
Loading