<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://git.reviewboard.kde.org/r/115331/">https://git.reviewboard.kde.org/r/115331/</a>
     </td>
    </tr>
   </table>
   <br />





<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
 <p style="margin-top: 0;">On January 27th, 2014, 6:54 p.m. UTC, <b>Kevin Funk</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Just discussed a bit with Aleix: While the patch isn't perfect, let's just commit this.

I'll try to come up with a better solution in the meantime.</pre>
 </blockquote>




 <p>On January 28th, 2014, 7:41 a.m. UTC, <b>Sergey Kalinichev</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Oops, I should have mentioned before that on my machine there is only one executable without version in it's name: llvm-clang. All other end with 3.4 (e.g. llvm-nm-3.4).
Here is llvm-clang --version output:
"clang version 3.4-1 (tags/RELEASE_34/final) (based on LLVM 3.4)
Target: llvm
Thread model: posix"

So, I've updated the patch, see if it fits you.

P.S: I'm really sorry for not providing all necessary information in time :(
</pre>
 </blockquote>








</blockquote>

<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">@Sergey: For the record, what distribution is that?

I'll have to come up with a better solution than what we have now. Unfortunately I don't really want to hardcode the find process on 'llvm-clang' either, because that binary doesn't really need to be installed in order to build kdev-clang. Plus, on the next distro that crops up, only 'llvm-clang-3.4' may exist and I have to come up with another solution yet again. 

No problem regarding the missing information, though, we can't think of everything.</pre>
<br />










<p>- Kevin</p>


<br />
<p>On January 27th, 2014, 9:07 p.m. UTC, Sergey Kalinichev wrote:</p>








<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('https://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for KDevelop.</div>
<div>By Sergey Kalinichev.</div>


<p style="color: grey;"><i>Updated Jan. 27, 2014, 9:07 p.m.</i></p>









<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
kdev-clang
</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Currently FindLLVM.cmake looking for llvm-config-3.3 and llvm-config only. But on my machine there is only llvm-config-3.4. 
To bypass it let's try to find llvm-clang instead, then retrieve it's directory and try to find llvm-config-* in it.

NOTE: I'm not very good at cmake, so it'll be nice if someone more experienced could tell if there is a more simple/correct way to achieve it.</pre>
  </td>
 </tr>
</table>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>cmake/FindLLVM.cmake <span style="color: grey">(b77528f)</span></li>

</ul>

<p><a href="https://git.reviewboard.kde.org/r/115331/diff/" style="margin-left: 3em;">View Diff</a></p>







  </td>
 </tr>
</table>








  </div>
 </body>
</html>