D15998: Fix discovery of clang builtin directory with clang svn versions

Bernd Buschinski noreply at phabricator.kde.org
Sun Oct 7 10:44:11 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
  The CLANG_VERSION for svn clang versions have a svn suffix "8.0.0svn" and all the libraries have a svn suffix.
  But not the in builtin include dir. It still points to 
  "/usr/lib/clang/8.0.0/include/cpuid.h"
  without the suffix.
  
  Extend the PATH_SUFFIXES to also looks a version without svn suffix.
  
  BUG: 399439

TEST PLAN
  - install clang-svn
  - execute cmake .. (for kdevelop)
  
  -> it will fail

REPOSITORY
  R32 KDevelop

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

AFFECTED FILES
  cmake/modules/FindClang.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/20181007/d2482e39/attachment.html>


More information about the KDevelop-devel mailing list