<table><tr><td style="">cgiboudeaux added inline comments.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8780" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>INLINE COMMENTS</strong><div><div style="margin: 6px 0 12px 0;"><div style="border: 1px solid #C7CCD9; border-radius: 3px;"><div style="padding: 0; background: #F7F7F7; border-color: #e3e4e8; border-style: solid; border-width: 0 0 1px 0; margin: 0;"><div style="color: #74777d; background: #eff2f4; padding: 6px 8px; overflow: hidden;"><a style="float: right; text-decoration: none;" href="https://phabricator.kde.org/D8780#inline-38822" rel="noreferrer">View Inline</a><span style="color: #4b4d51; font-weight: bold;">turbov</span> wrote in <span style="color: #4b4d51; font-weight: bold;">FindPythonModuleGeneration.cmake:212</span></div>
<div style="margin: 8px 0; padding: 0 12px; color: #74777D;"><p style="padding: 0; margin: 8px;">What distribution is this? Why only 3.8 and 3.9?? Why not 4.0 or 5.0???</p>

<p style="padding: 0; margin: 8px;">I've just checked Ubuntu 14.04 (Clang 3.3 to 3.9 available) and 17.10 (up to 5.0 available)... installing <tt style="background: #ebebeb; font-size: 13px;">libclang-X.Y</tt> (or <tt style="background: #ebebeb; font-size: 13px;">libclang-X.Y-devel</tt> obviously) always bring <tt style="background: #ebebeb; font-size: 13px;">libclang.so</tt> library (which is of cause a symlink to a versioned name), but it always here... Also, I've checked CentOS 7 w/ <a href="https://www.softwarecollections.org/en/scls/rhscl/devtoolset-7/" class="remarkup-link" target="_blank" rel="noreferrer">DTS7</a> (Clang 4.0) -- same here...</p>

<p style="padding: 0; margin: 8px;">so the question is "why to search a versioned name?" -- I don't know any distro where <tt style="background: #ebebeb; font-size: 13px;">libclang.so</tt> is not available... do you?</p></div></div>
<div style="margin: 8px 0; padding: 0 12px;"><p style="padding: 0; margin: 8px;">As Shaheed explained, this was added for Ubuntu.<br />
I've no idea what you checked but according to <a href="https://packages.ubuntu.com/artful/i386/libclang-3.9-dev/filelist" class="remarkup-link" target="_blank" rel="noreferrer">https://packages.ubuntu.com/artful/i386/libclang-3.9-dev/filelist</a> Ubuntu artful will still have /usr/lib/i386-linux-gnu/libclang-3.9.so.</p>

<p style="padding: 0; margin: 8px;">libclang.so is installed in /usr/lib/llvm-3.9/lib/libclang.so. Finding *this* file is possible but that means adding llvm-3.9/lib to the HINTS line rather than having "clang-3.9" on the NAMES one.</p>

<p style="padding: 0; margin: 8px;">4.0 and 5.0 are also affected but I thought this review was about fixing FindPythongModuleGeneration for everyone else.</p></div></div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8780" rel="noreferrer">https://phabricator.kde.org/D8780</a></div></div><br /><div><strong>To: </strong>turbov<br /><strong>Cc: </strong>cgiboudeaux, shaheed, Frameworks, Build System<br /></div>