Building RELENG_9 (or RELENG_9_*) on a small machine?

Glen Barber gjb at FreeBSD.org
Thu Feb 28 01:46:41 UTC 2013


On Wed, Feb 27, 2013 at 05:41:17PM -0800, Darren Pilgrim wrote:
> So I have this VM which only has 256 MB of memory and 9.1-R installed. 
> I want to update it to RELENG_9, but buildworld swaps so bad it grinds 
> nearly to a halt.  Even make -j1 -B runs into very heavy swapping.  So 
> two questions:
> 
> 1. Is there anything I can do to set a limit on how much memory the 
> compiler uses?
> 

You can disable building clang with this line in /etc/src.conf:

    WITHOUT_CLANG=yes

> 2. If I crossbuild for this machine, can I get away with doing 
> buildworld on a buildbox, ship the obj tree, and do installworld and 
> mergemaster on the VM?  It's been a few enternities since I did a cross 
> build and back then it was crossbuilding releases.

Yes, that should work.

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130227/833e780c/attachment.sig>


More information about the freebsd-stable mailing list