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

            Bug ID: 407625
           Summary: Clang source include path in Git MonoRepo
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: eugene.zele...@gmail.com
                CC: smart...@kde.org
  Target Milestone: ---

Clazy could not be built with Git MonoRepo LLVM/Clang, because different path
to Clang source include files:

My workaround was:

cmake/FindClang.cmake
-         "${_llvmSourceRoot}/tools/clang/include"     # source dir
+         "${_llvmSourceRoot}/../clang/include"     # source dir

Ideally directory should be checked for existence to support both SubVersion
and Git source code layouts.

It may make sense to look onto Include What You Use configuration since it is
much simpler, doesn't have such problem and also support LLVM_ENABLE_LIBCXX and
LLVM_ENABLE_LLD build variants.

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

Reply via email to