<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, 15 Jan 2016 at 18:19 Ismail Donmez via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Jan 15, 2016 at 11:08 AM, Ismail Donmez <<a href="mailto:ismail@i10z.com" target="_blank">ismail@i10z.com</a>> wrote:<br>
> On Fri, Jan 15, 2016 at 11:05 AM, Ismail Donmez <<a href="mailto:ismail@i10z.com" target="_blank">ismail@i10z.com</a>> wrote:<br>
>> Hi,<br>
>><br>
>> On Fri, Jan 15, 2016 at 12:59 AM, Chris Bieneman <<a href="mailto:beanz@apple.com" target="_blank">beanz@apple.com</a>> wrote:<br>
>>> I’m kinda scared that you’re using it. What are you trying to accomplish<br>
>>> that you are using it? Generally having LLVM split among that many<br>
>>> dynamically loaded libraries results in significant performance regressions.<br>
>><br>
>> When we first switched to cmake it was the only option to produce<br>
>> shared libraries, hence we went with it. I am testing with<br>
>> -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON atm, and will let<br>
>> you know if any problem arises.<br>
><br>
> And one immediate "problem" shows up. I ended up with<br>
><br>
> <a href="http://libLLVM-3.9svn.so" rel="noreferrer" target="_blank">libLLVM-3.9svn.so</a><br>
><br>
> and<br>
><br>
> libclang.so<br>
> libclang.so.3.9<br>
><br>
> LLVM's shared lib naming looks wrong.<br></blockquote><div><br></div><div>Wrong because they're inconsistent? libLLVM was changed recently (major.minor added to library name) to match what autotools builds did.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
And one more thing, in this setup llvm-config --libs lists static<br>
libraries which is a no-go because Linux distros in the 99% of the<br>
case want to ship only shared libraries.<br></blockquote><div><br></div><div>Same problem with autotools builds. I have a couple of patches that will fix this:</div><div>   <a href="http://reviews.llvm.org/D15033">http://reviews.llvm.org/D15033</a> (reverted due to bug, fixed by below)<br></div><div>   <a href="http://reviews.llvm.org/D15986">http://reviews.llvm.org/D15986</a></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Regards,<br>
ismail<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>