Date: Mon, 14 May 2001 11:37:53 -0500 From: Mike Meyer <mwm@mired.org> To: Joachim =?iso-8859-1?Q?Str=F6mbergson?= <watchman@ludd.luth.se> Cc: questions@freebsd.org Subject: Re: Parallel make flag to ports? Message-ID: <15104.2529.405182.943371@guru.mired.org> In-Reply-To: <104175885@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Joachim Str=F6mbergson <watchman@ludd.luth.se> types: > Hi! >=20 > (This might be a newbie question, so don't kill me, ok?) >=20 > Since I have this nifty SMP system, which makes buildworlds and > kernelbuilds perform really well, I had this idea of doing the same > thing when I build ports. Now, are there: >=20 > (1) Any way of specifying system wide flags to port builds? > I browsed the Makefile in /usr/ports/ and the files under Mk/ but did= n't > see anything that seemed to be an obvious place for such things. I al= so > tried man ports without seeing any obvious relevant info or pointers.= Read through the make.conf man page, and /etc/defaults/make.conf. Then set things in /etc/make.conf. > (2) Would this generally be a good or bad idea? It may cause some ports to fail to build and/or install. Such ports should really set the -B option, but not all do. Personally, I just got into the habit of typing "make -j 10", so that if things fail, I can try again without the -j option without having to tweak /etc/make.conf. =09<mike -- Mike Meyer <mwm@mired.org>=09=09=09http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more inform= ation. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15104.2529.405182.943371>