Date: Tue, 9 Jul 2002 16:49:43 -0400 From: Brian Reichert <reichert@numachi.com> To: Makoto Matsushita <matusita@jp.FreeBSD.org> Cc: reichert@numachi.com, freebsd-hackers@FreeBSD.ORG Subject: Re: 'make release' tries to build a port? Message-ID: <20020709164943.K259@numachi.com> In-Reply-To: <20020707214508.V259@numachi.com>; from reichert@numachi.com on Sun, Jul 07, 2002 at 09:45:08PM -0400 References: <20020706142333.M259@numachi.com> <20020707034128B.matusita@jp.FreeBSD.org> <20020706232013.P259@numachi.com> <20020707151855E.matusita@jp.FreeBSD.org> <20020707214508.V259@numachi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 07, 2002 at 09:45:08PM -0400, Brian Reichert wrote: > On Sun, Jul 07, 2002 at 03:18:55PM +0900, Makoto Matsushita wrote: > > > > > WORLD_FLAGS and/or KERNEL_FLAGS don't work for you? > > > > reichert> 'make -j 10 release' didn't work. > > > > Again, WORLD_FLAGS and/or KERNEL_FLAGS don't work for you? > > Sorry, you did ask a specific question. No, I hadn't tried those > flags, so I can't say that they would have worked... I can now say that KERNEL_FLAGS, WORLD_FLAGS _did_ work; thanks for pointing me in the right direction... env CHROOTDIR=/usr/build/release \ CVSROOT=/home/ncvs RELEASETAG=RELENG_4_5_0_RELEASE \ WORLD_FLAGS='-j10' KERNEL_FLAGS='-j10' NOPORTS=YES \ NOPORTREADMES=YES BUILDNAME=4.5-RELEASE tcsh cd /usr && cvs co -r $RELEASETAG src && cd src && \ /usr/bin/time make $WORLD_FLAGS buildworld && \ cd release && /usr/bin/time make release ... 2693.85 real 2818.31 user 1007.08 sys >>> make release started on Tue Jul 9 16:59:46 GMT 2002 ... >>> make release finished on Tue Jul 9 20:09:15 GMT 2002 11430.88 real 10129.49 user 2374.93 sys For the members of the viewing audience, in addition to Makoto Matsushita's direction, I was aided by the brand-spanking-new release(7) manpage: http://www.freebsd.org/cgi/man.cgi?query=release and Murray Stokely's document "The Release Engineering of FreeBSD 4.4" available from: http://people.freebsd.org/~murray/#publications Unfortunately, I had to delve into other bits of mystery and wonder: - The Makefile in usr/src/release; that's where KERNEL_FLAGS and WORLD_FLAGS are mentioned. - I ran into grief with the build of ports whose distfiles come from Sourceforge; my workaround was to rummage though usr/src/release/Makefile.inc.docports to find the 'minimal' list of ports used for the document toolchain, and actually go through the hassle of installing them outright on the base system. Way down deep in the 'make release' phase, these ports are copied from /usr/ports, so any work I could in advance only saved time... Now, if only I could automate a relationship between RELEASETAG and BUILDNAME... -- Brian 'you Bastard' Reichert <reichert@numachi.com> 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020709164943.K259>