https://bugs.kde.org/show_bug.cgi?id=416010

            Bug ID: 416010
           Summary: Missing detection for llvm *git version
           Product: kdevelop
           Version: 5.4.5
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: wielkie...@gmail.com
  Target Milestone: ---

llvm built from master on gentoo is checked out using git instead of svn (the
reason might also be that LLVM project is in the process of moving to git
completely [1]). Because of that the llvm-config returns something like this:

$ llvm-config --version
10.0.0git

A year ago a patch [2] added support for the svn suffix, it would be nice to
have support for the git suffix as well.

Right now instead the llvm is not detected correctly:

-- Found LLVM (version: 10.0.0git): (using /usr/lib/llvm/10/bin/llvm-config)
--   Include dirs:   /usr/lib64/llvm/10/include
--   LLVM libraries: /usr/lib64/llvm/10/lib64/libLLVM-10git.so
-- Found LLVM (version: 10.0.0git): (using /usr/lib/llvm/10/bin/llvm-config)
--   Include dirs:   /usr/lib64/llvm/10/include
--   LLVM libraries: /usr/lib64/llvm/10/lib64/libLLVM-10git.so
-- Found LLVM (version: 10.0.0git): (using /usr/lib/llvm/10/bin/llvm-config)
--   Include dirs:   /usr/lib64/llvm/10/include
--   LLVM libraries: /usr/lib64/llvm/10/lib64/libLLVM-10git.so
-- Found LLVM (version: 10.0.0git): (using /usr/lib/llvm/10/bin/llvm-config)
--   Include dirs:   /usr/lib64/llvm/10/include
--   LLVM libraries: /usr/lib64/llvm/10/lib64/libLLVM-10git.so
-- Found LLVM (version: 10.0.0git): (using /usr/lib/llvm/10/bin/llvm-config)
--   Include dirs:   /usr/lib64/llvm/10/include
--   LLVM libraries: /usr/lib64/llvm/10/lib64/libLLVM-10git.so
-- Found LLVM (version: 10.0.0git): (using /usr/lib/llvm/10/bin/llvm-config)
--   Include dirs:   /usr/lib64/llvm/10/include
--   LLVM libraries: /usr/lib64/llvm/10/lib64/libLLVM-10git.so
-- Found LLVM (version: 10.0.0git): (using /usr/lib/llvm/10/bin/llvm-config)
--   Include dirs:   /usr/lib64/llvm/10/include
--   LLVM libraries: /usr/lib64/llvm/10/lib64/libLLVM-10git.so
-- Found LLVM (version: 10.0.0git): (using /usr/lib/llvm/10/bin/llvm-config)
--   Include dirs:   /usr/lib64/llvm/10/include
--   LLVM libraries: /usr/lib64/llvm/10/lib64/libLLVM-10git.so
CMake Error at cmake/modules/FindClang.cmake:116 (message):
  Could not find Clang builtin directory
Call Stack (most recent call first):
  plugins/CMakeLists.txt:43 (find_package)

[1] http://blog.llvm.org/2019/08/the-llvm-project-is-moving-to-github.html
[2] https://phabricator.kde.org/D15998

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to