Ion-Mihai Tetcu píše v ne 24. 05. 2009 v 19:01 +0300:
> On Sun, 24 May 2009 16:10:23 +0200
> Pav Lucistnik <p...@freebsd.org> wrote:
> 
> > Ion-Mihai Tetcu píše v so 23. 05. 2009 v 13:51 +0300:
> > 
> > > > > - MAKE_JOBS_NUMBER defaults (but user defined) to number of
> > > > > cores
> > > 
> > > This part looks OK, I wonder if there's any reason t ain't like this
> > > now; Pav?
> > > -.if defined(MAKE_JOBS_NUMBER)
> > > +MAKE_JOBS_NUMBER?=       `${SYSCTL} -n kern.smp.cpus`
> > >  _MAKE_JOBS=              -j${MAKE_JOBS_NUMBER}
> > > -.else
> > > -_MAKE_JOBS=              -j`${SYSCTL} -n kern.smp.cpus`
> > > -.endif
> > 
> > Wouldn't that mean an evaluation of the backtick command in every
> > make(1) invocation? That would be highly undesirable.
> 
> Umm, why? it shouldn't be evaluated if MAKE_JOBS_NUMBER is defined, no?
> Am I missing some make magic here?

But for 99.99% of the users, MAKE_JOBS_NUMBER is not defined.

-- 
Pav Lucistnik <p...@oook.cz>
              <p...@freebsd.org>
... the obese drugged penguin used by Linux. -- Scott Long

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy

Reply via email to