Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Aug 2007 12:53:57 +0200
From:      Kenneth Vestergaard Schmidt <kvs@binarysolutions.dk>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        Henrik Brix Andersen <henrik@brixandersen.dk>, Michael Nottebrock <lofi@freebsd.org>, cvs-all@freebsd.org, ports-committers@freebsd.org, Pav Lucistnik <pav@freebsd.org>, Kris Kennaway <kris@obsecurity.org>, cvs-ports@freebsd.org
Subject:   Re: cvs commit: ports/Mk bsd.port.mk
Message-ID:  <m1myx553y2.fsf@binarysolutions.dk>
In-Reply-To: <20070806113855.0fcq213io0www04k@webmail.leidinger.net> (Alexander Leidinger's message of "Mon\, 06 Aug 2007 11\:38\:55 %2B0200")
References:  <200706281553.l5SFr56i099807@repoman.freebsd.org> <20070802181715.46yikycm8gc8g8kk@webmail.leidinger.net> <20070803125410.GB1062@tirith.brixandersen.dk> <200708032144.57558.lofi@freebsd.org> <20070803204215.GA68620@rot26.obsecurity.org> <20070806074318.q9mw6ulngg00gwsw@webmail.leidinger.net> <20070806065634.GA31676@rot26.obsecurity.org> <20070806113855.0fcq213io0www04k@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger <Alexander@Leidinger.net> writes:
> I was tempted to say it also decreases the amount of time for
> incremental package builds, but as the package dependencies change
> (meta data for the portversion or portrevision) all packages which
> have a changed port in their implicit dependency list will change and
> have to be rebuild. So it doesn't cut down the official builds, but at
> least the development und "user-update" time.

We actually do this - we have a central build-box, where we manage all
packages for all our machines. To cut down on build-time, we cache built
packages, and reuse them when building for other machines.

This, of course, requires us to track environment and dependencies for
each host/port-combination. With implicit dependencies recorded in the
package, this effectively kills this approach.

One example would be a php5 extension like eg. php5-zlib. With implicit
dependencies, this package would also depend on some Apache-package,
even though the php5-zlib object code was exactly the same. This forced
us to build all php-extensions separately for each box.

We had a custom patch in our ports-tree, which did exactly the same as
Alexander's patch - with this commited, we can remove our custom patch,
which is always nice :)

/Kenneth



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