D15895: Use CLANG_INCLUDE_DIRS for clang include dir

Bernd Buschinski noreply at phabricator.kde.org
Tue Oct 2 14:37:22 BST 2018


buschinski created this revision.
buschinski added a reviewer: KDevelop.
Herald added a project: KDevelop.
Herald added a subscriber: kdevelop-devel.
buschinski requested review of this revision.

REVISION SUMMARY
  Use CLANG_INCLUDE_DIRS for clang include dir instead of manually building it.
  
  This fixes the error:
  kdevplatform.shell: Could not load plugin "kdevclangsupport" , it reported the error: "The clang builtin include path \"/usr/lib64/llvm/7/lib64/clang/7.0.0/include\" is invalid (missing cpuid.h header).\nTry setting the KDEV_CLANG_BUILTIN_DIR environment variable manually to fix this.\nSee also: https://bugs.kde.org/show_bug.cgi?id=393779" Disabling the plugin now.
  
  As CMake with CLANG_INCLUDE_DIRS already tests if this folder is present, it should work across all distros.
  
  BUG: 393779

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D15895

AFFECTED FILES
  plugins/clang/libclang_include_path.h.cmake

To: buschinski, #kdevelop
Cc: kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20181002/0f66fcb8/attachment.html>


More information about the KDevelop-devel mailing list