MAKE_JOBS_UNSAFE (some more ports)
Ion-Mihai Tetcu
itetcu at FreeBSD.org
Sun May 24 08:38:49 UTC 2009
On Sun, 24 May 2009 10:26:23 +0200
David Naylor <naylor.b.david at gmail.com> wrote:
> On Sunday 24 May 2009 00:16:37 Maho NAKATA wrote:
> > Hi I tested it yesterday,
> >
> > 1.
> > I need
> >
> > > MAKE_JOBS_SAFE= yes
> >
> > in the Makefile.
>
> Yes, you would need that. I believe that will be default.
>
> > 2. with above patch, ooo2 doesn't launch parallele jobs.
>
> I spotted that problem after submitting the patch, if you explicitly
> set MAKE_JOBS_NUMBER to something it will work.
>
> The problem is that ooo2 does (in effect):
> .if (${MAKE_JOBS_NUMBER} > 1)
> # Stuff
> .else
> # Other stuff
> .endif
> and that doesn't work as expected with MAKE_JOBS_NUMBER=`sysctl
> kern.smp.cpus` as the command is not resolved.
Adding MAKE_JOBS_NUMBER!=`sysctl kern.smp.cpus` in the port Makefile
should help.
--
IOnut - Un^d^dregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090524/760381b3/signature.pgp
More information about the freebsd-ports
mailing list