[llvm-dev] Unusual file size for libs

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Wed Dec 30 09:36:14 PST 2015

On Wed, Dec 30, 2015 at 09:35:35PM +0530, vivek pandya via llvm-dev wrote:
> Hello,
> I am building llvm and clang with following options -*DLIBCLANG_BUILD_STATIC=ON
> --show-sdk-path` *
> Here I want to use libclang with OS X application and minimum deployment
> target for my app is 10.10 . But this build command generates around 7 GB
> of libs. This is unusual. For example normal build will generate
> libLLVMCodeGen.a of size 4 MB but with above mentioned Cmake option it
> generates 25 MB . Is it due to I am building on 10.11 OS X and minimum
> required target is set to 10.10 ?
> Please explain .

Have you disabled debugging?


More information about the llvm-dev mailing list