HEADS UP multi processor compilations for everyone

Pav Lucistnik pav at FreeBSD.org
Wed Mar 25 01:40:43 PDT 2009


Anonymous píše v st 25. 03. 2009 v 09:26 +0300:
> Pav Lucistnik <pav at FreeBSD.org> writes:
> 
> > If you are FreeBSD port maintainer:
> 
> I'm not one.
> 
> >
> > Nothing changes for you, if you don't want. If you want to enable the
> > use of multiple cores in your port, add MAKE_JOBS_SAFE=yes to a block
> > somewhere below dependency declarations. If you know your port does not
> > handle -jX well, and want to disable it from using -jX even when user
> > forces this feature, use MAKE_JOBS_UNSAFE=yes. And that's all to it.
> 
> Not all ports build using make/gmake. Wouldn't it be better to export
> the number of parallel processes so maintainer can decide whether to use
> it in his port build system? For example
> 
> Is this completely discouraged?

I suppose you can use internal variable _MAKE_JOBS directly. Why are you
stripping -j just to add it back again?

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

Any Palm app requiring an 90+ page manual has lost its vision.
    -- words about DateBk4 on Action Names list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090325/57369b04/attachment.pgp


More information about the freebsd-ports mailing list