Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2011 17:51:52 -0500
From:      Eitan Adler <lists@eitanadler.com>
To:        Chuck Swiger <cswiger@mac.com>, David Forsythe <dforsyth@freebsd.org>
Cc:        John <lists@reiteration.net>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: can make -j be used for ports?
Message-ID:  <AANLkTikDj27tAgFuqnf8LtB-Uf7iV6YAJKWY-ZzSLFER@mail.gmail.com>
In-Reply-To: <A8D078D7-FA44-48CD-AA25-ACC702576BB2@mac.com>
References:  <4D7FBC0E.5020302@reiteration.net> <1468BFDD-5E3C-4756-830B-266D0942AED0@mac.com> <AANLkTi=xECg6s7HGeoJFQs96EGwS1tN0Ag6FgFO30QzM@mail.gmail.com> <A8D078D7-FA44-48CD-AA25-ACC702576BB2@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> What is incorrect?

MAKE_JOBS_SAFE uses make -j on a single port (when in the WRKSRC
directory) but does *not* build multiple ports at the same time,

> It certainly wasn't clear to me that this is what the OP meant. =C2=A0If =
you:
>
> =C2=A0cd /usr/ports/www/apache22
> =C2=A0make -j 3
>
> ...what do you expect to happen, and how many ports would you expect to b=
e built at once?

What *would* happen is that make would try to build multiple ports at
once. This is not supported.

> (Building one port in parallel is supported, where the port itself is saf=
e to do so; building many at the same time is not. )

This is what I said. This feature is automatic and does not require -j
specified.

On Tue, Mar 15, 2011 at 5:44 PM, David Forsythe <dforsyth@freebsd.org> wrot=
e:
>I had patches for this a couple of years ago when I worked on this
>problem for summer of code.  What I did back then is surely stale, but
>if people really want it, I'd be happy to take another stab at it.

I've seen that work: it looked quite good. Yes, I think this would be
very useful and I think a lot of people would want it :-).


--=20
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikDj27tAgFuqnf8LtB-Uf7iV6YAJKWY-ZzSLFER>