Subject: Re: setting limit in pkg Makefile?
To: Frederick Bruckman <fredb@enteract.com>
From: None <mcmahill@mtl.mit.edu>
List: tech-pkg
Date: 08/15/1998 22:58:16
On Sat, 15 Aug 1998, Frederick Bruckman wrote:

> > > > Is there a prefered way to change the 'datasize' limit for packages?  I'm
> > 
> > > If it's just for compiling, putting something like
> > > 
> > > do-build:
> > > 	limit datasize 40000 ; make
> > > 
> > 
> > except that 'limit' is not understood by 'sh' which is where the do-build
> > stuff gets run.  For now, I can do
> > 
> > % limit datasize 40000
> > % make
> > 
> > from my tcsh prompt, 
> 
> The sh syntax is "ulimit -d 40000".
oh.  Thanks.

> Don't the default limits depend on the port, and on how much memory you
> have? I need to raise the limits on my mac68k w/36M to build userland, but
> it builds fine on a 386 w/16M using the defaults. Maybe it would be a good
> idea to leave that to the user. 
I don't mind leaving it to the user.  I've only had to change defaults on
the pmax so far.  As long as no one doing batch builds cares that they
have to do that.

Dan