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

看板FB_stable作者時間12年前 (2013/04/27 13:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/10 (看更多)
--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--
文章代碼(AID): #1HUsCI_k (FB_stable)
討論串 (同標題文章)
完整討論串 (本文為第 3 之 10 篇):
文章代碼(AID): #1HUsCI_k (FB_stable)