[LLVMdev] lld-3.4 bloats llvm build badly
Jack Howarth
howarth at bromo.med.uc.edu
Wed Nov 20 07:39:32 PST 2013
On Wed, Nov 20, 2013 at 10:29:05AM -0500, Sean Silva wrote:
> lld definitely shouldn't be that big. I would expect 10MB at most. Can you
> check whether something weird is happening, like lld being built with debug
> info?
>
> -- Sean Silva
Sean,
I'm not passing...
-G "Unix Makefiles"
to cmake per the instructions at http://lld.llvm.org/getting_started.html#building-lld.
Is that still required? I am using...
cd llvm-3.4
mv ../clang-3.4 tools/clang
mv ../lld-3.4 tools/lld
mv ../compiler-rt-3.4 projects/compiler-rt
mv ../libcxx-3.4 projects/libcxx
mv ../test-suite-3.4 projects/test-suite
mv ../polly-3.4 tools/polly
mkdir build
pushd build
cmake -DLLVM_BUILD_32_BITS:BOOL=OFF -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_INSTALL_PREFIX=%p/opt/llvm-%v -DLLVM_ENABLE_ASSERTIONS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_SYSROOT:STRING=/ -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING="" ..
make
Jack
>
>
> On Wed, Nov 20, 2013 at 10:15 AM, Jack Howarth <howarth at bromo.med.uc.edu>wrote:
>
> > When lld-3.4 is added to the tools directory of the llvm source tree
> > as lld, the resulting cmake build produces a huge number of static libs and
> > bloats the overall package from...
> >
> > -rw-r--r-- 1 root wheel 86361440 Nov 19 21:09
> > llvm34_3.4-0_darwin-x86_64.deb
> >
> > to
> >
> > -rw-r--r-- 1 root wheel 495257452 Nov 19 20:49
> > llvm34_3.4-0_darwin-x86_64.deb
> >
> > Is this a known issue with the initial release of lld?
> > Jack
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> >
More information about the llvm-dev
mailing list