[LLVMdev] FAQ update and Question on minimum build
Daniel Sanders
Daniel.Sanders at imgtec.com
Wed Dec 3 07:23:13 PST 2014
I don't have measurements for other configurations but the peak memory usage for a cmake build with BUILD_SHARED_LIBS=ON and debug info was ~7GB on my x86_64 machine when I last measured it. You might find that your target needs a fair bit of swap space too.
Also FWIW, I recently re-built the LLVM 3.5 binary packages on an EdgeRouter Pro which has 2GB RAM and 16GB swap (on a USB stick). The source and build directory is mounted via NFS and ended up at ~9GB.
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Kevin Angus
> Sent: 03 December 2014 03:33
> To: 'Tim Northover'
> Cc: 'LLVM Developers Mailing List'
> Subject: Re: [LLVMdev] FAQ update and Question on minimum build
>
> Just as your email arrived I was replying about my finding the doc's:
> I found it! I was looking for a RELEASE environment settings but it appears to
> be a command line switch for configure --enable-optimized
> ../llvm/configure --enable-optimized
> http://llvm.org/docs/GettingStarted.html#local-llvm-configuration
>
> The make file generated still showed all targets being built but I'll run it and
> see, the last time only ARM was built.
> I had a 16GB SD card that turned out to be a 8 GB SD card, twice. I got my
> money back and ordered a new one from Amazon.
> Thanks for all the replies.
> Mail list, been awhile since I used one, must remember Reply All.
>
> -----Original Message-----
> From: Tim Northover [mailto:t.p.northover at gmail.com]
> Sent: Tuesday, December 02, 2014 8:09 PM
> To: Kevin Angus
> Cc: LLVM Developers Mailing List
> Subject: Re: [LLVMdev] FAQ update and Question on minimum build
>
> On 2 December 2014 at 19:05, Kevin Angus <kangus at jaga.us> wrote:
> > This sounds possible except I can not find anything in the documents,
> configure, make that explains how to build a RELEASE version.
>
> I've added the mailing list back to CC. I think it might be "configure --enable-
> optimized", but I never use the autoconf build so wouldn't swear to it. (It's
> definitely "cmake -DCMAKE_BUILD_TYPE=Release" for the CMake build
> system).
>
> Cheers.
>
> Tim
>
>
> _______________________________________________
> 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