Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2011 15:59:53 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Eitan Adler <lists@eitanadler.com>
Cc:        John <lists@reiteration.net>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: can make -j be used for ports?
Message-ID:  <74789707-D302-4FBA-B211-C9F6732C9C29@mac.com>
In-Reply-To: <AANLkTikDj27tAgFuqnf8LtB-Uf7iV6YAJKWY-ZzSLFER@mail.gmail.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> <AANLkTikDj27tAgFuqnf8LtB-Uf7iV6YAJKWY-ZzSLFER@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 15, 2011, at 3:51 PM, Eitan Adler wrote:
>> It certainly wasn't clear to me that this is what the OP meant.  If you:
>> 
>>  cd /usr/ports/www/apache22
>>  make -j 3
>> 
>> ...what do you expect to happen, and how many ports would you expect to be built at once?
> 
> What *would* happen is that make would try to build multiple ports at once.

Did you actually try and see what happens?  I'm thinking "no"...since, unless something is very different, you ought to find it terminating as follows:

# cd /usr/ports/www/apache22 ; make -j 3                                                           
===>   apache-2.2.17_1 depends on file: /usr/local/lib/libcrypto.so.7 - found
===>   apache-2.2.17_1 depends on file: /usr/local/bin/perl5.12.3 - found
===>   apache-2.2.17_1 depends on file: /usr/local/bin/autoconf-2.68 - found
===>   apache-2.2.17_1 depends on package: libtool>=2.4 - found
===>   apache-2.2.17_1 depends on shared library: expat.6 - found
===>   apache-2.2.17_1 depends on shared library: apr-1 - found
===>   apache-2.2.17_1 depends on shared library: pcre.0 - found
===>   apache-2.2.17_1 depends on shared library: iconv.3 - found
===>   apache-2.2.17_1 depends on shared library: mysqlclient.15 - found
===>   apache-2.2.17_1 depends on shared library: db-4.4.0 - found
===>   apache-2.2.17_1 depends on shared library: sqlite3.8 - found
===>  Configuring for apache-2.2.17_1

...whereas just typing make proceeds with:

checking for chosen layout... FreeBSD
checking for working mkdir -p... yes
checking build system type... i386-portbld-freebsd7.4
checking host system type... i386-portbld-freebsd7.4
checking target system type... i386-portbld-freebsd7.4
[ ...followed by an actual build... ]

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?74789707-D302-4FBA-B211-C9F6732C9C29>