[LLVMdev] how much RAM do I really need to build a devel version of LLVM?

220 views
Skip to first unread message

Gry Gunvor

unread,
Apr 8, 2015, 2:01:36 PM4/8/15
to llv...@cs.uiuc.edu
I tried half a gig and that didn't work. I just want to know before I
go buy a new machine.

Gry
_______________________________________________
LLVM Developers mailing list
LLV...@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

Yaron Keren

unread,
Apr 8, 2015, 2:15:43 PM4/8/15
to Gry Gunvor, LLVM Developers Mailing List
512MB is not enough for any serious development work these days. A computer with 512MB probably has an old weak processor as well. 

At a minimum think of a i3 with 4GB (maybe used?) but you'll enjoy much more developing LLVM on a i7 with 16GB of RAM.



martin krastev

unread,
Apr 8, 2015, 2:19:18 PM4/8/15
to Gry Gunvor, llv...@cs.uiuc.edu
I've built older versions of clang (3.3 - 3.4) on a 1GB ubuntu ARMv7,
but I don't recall if that has involved a swap file.. Most likely it
has.

I haven't had issues building recent clangs on a 4GB netbook, swap file enabled.

Jonathan Roelofs

unread,
Apr 8, 2015, 2:57:19 PM4/8/15
to martin krastev, Gry Gunvor, llv...@cs.uiuc.edu
If you're developing *for* rather than *on* a low-power system, there's
always cross building it, too. That's what people do to get Clang on a
RaspberryPi, for example.


Jon
--
Jon Roelofs
jona...@codesourcery.com
CodeSourcery / Mentor Embedded

Daniel Sanders

unread,
Apr 9, 2015, 7:01:22 AM4/9/15
to Gry Gunvor, llv...@cs.uiuc.edu
Hi,

The last time I measured it was a couple years ago but the peak RAM usage at the time was a little under 7GB for a build with debug info. Most of our development systems have 16GB but we have a few test systems for non-debug builds with 2GB + swap.
Reply all
Reply to author
Forward
0 new messages