<div dir="ltr"><br><div class="gmail_extra"><br clear="all"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
> Hello,<br>
><br>
> I am building llvm and clang with following options -*DLIBCLANG_BUILD_STATIC=ON<br>
> -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 -DCMAKE_OSX_SYSROOT=`xcrun<br>
> --show-sdk-path` *<br>
> Here I want to use libclang with OS X application and minimum deployment<br>
> target for my app is 10.10 . But this build command generates around 7 GB<br>
> of libs. This is unusual. For example normal build will generate<br>
> libLLVMCodeGen.a of size 4 MB but with above mentioned Cmake option it<br>
> generates 25 MB . Is it due to I am building on 10.11 OS X and minimum<br>
> required target is set to 10.10 ?<br>
> Please explain .<br>
<br>
Have you disabled debugging?<br></blockquote><div> </div><div>No build type is debug but previously when I didn't pass  -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 -DCMAKE_OSX_SYSROOT=`xcrun options , with Debug build type size is very less. 7 GB is very unusual. <a href="http://llvm.org/docs/GettingStarted.html">http://llvm.org/docs/GettingStarted.html</a> according to this guide even with Debug build type total size could go about 3 GB .</div><div><br></div><div>-Vivek </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Joerg<br>
<br>
<br></blockquote></div></div></div>