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            <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to