Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--nVMJ2NtxeReIH9PS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.=20
> I want to update it to RELENG_9, but buildworld swaps so bad it grinds=20
> nearly to a halt.  Even make -j1 -B runs into very heavy swapping.  So=20
> two questions:
>=20
> 1. Is there anything I can do to set a limit on how much memory the=20
> compiler uses?
>=20

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

    WITHOUT_CLANG=3Dyes

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

Yes, that should work.

Glen


--nVMJ2NtxeReIH9PS
Content-Type: application/pgp-signature

-----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-----

--nVMJ2NtxeReIH9PS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130228014635.GB70215>