Date: Wed, 27 Feb 2013 20:46:35 -0500 From: Glen Barber <gjb@FreeBSD.org> To: Darren Pilgrim <list_freebsd@bluerosetech.com> Cc: freebsd-stable@freebsd.org Subject: Re: Building RELENG_9 (or RELENG_9_*) on a small machine? Message-ID: <20130228014635.GB70215@glenbarber.us> In-Reply-To: <512EB5BD.1020803@bluerosetech.com> References: <512EB5BD.1020803@bluerosetech.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iQEcBAEBCAAGBQJRLrb7AAoJEFJPDDeguUaj3C8H/0GNosJftPFyahGAsDpxdRjx
QEn9xXUwrCr0s5eVJno3rfch/KHeNMugizMO1jYeEI/Sh29QKoVAzajVNRMNgU7G
Ai4g7OQDxtKu4lHkBpx/l+d4TPoHWuY0rF1+Hz/H/h39KcmPSCUzgkDatF47YGjQ
+myQb9XWVC3+bD2cmZiPD8HReO+D8IdMUVck6F+xAI50YiGa/mcCFjtxS7BqmMAi
NRM54HAt0aRbnrGQtfHczyvyR5TPsAuicRKI53Z8PSJmzxxf7nARgchVQ25WGJHj
NPjdYwcL32MRMsFCS0JSo0dGyaLC6/J1q+yKD0yaFiC5hOqj/8U0WI23uk7WtKA=
=pD1v
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130228014635.GB70215>
