On Sun, Dec 09, 2012 at 07:39:38AM -0600, Amit Kulkarni wrote: > > How much space should I allocate to /usr/ports to be able to build anything > > in the tree at this point? Looking at the man page for ports and bsd.port.mk > > I am not sure whether moving the work directory elsewhere (I have plenty of > > space in var) would work or whether everything needs to be in one tree. > > > if you are building ports it is also important to > 1) bump your /usr/local from the default 10g to atleast 20g, i think i > have set it to 60g so i can hold the entire ports tree. > 2) have /usr/ports/pobj or WRKOBJDIR on a separate partition, so you > can just newfs it before building huge ports. > 3) bump datasize limits in /etc/login.conf to 2G. Mozilla firefox and > some other ports need upto 1.5 G to link. > 4) watch /usr/ports/distfiles like a hawk, and delete old stuff from there. > 5) enable ccache in /etc/mk.conf to speed up repetitive compiles. > 6) man dpb
Thanks alot. I don't think I will be bulk building anytime soon but I will keep your email around. Good info. > > building libre-office is painful, it takes hours and hours (i think it > takes 6-12 hours on this box) even on a fast quad core ivy bridge > xeon. this box builds userland in 14 mins.....you would probably take > around 18 hrs-32 hrs. just FYI. Wow! > -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary / \ http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04