Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2007 11:28:15 +0200
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        ports@freebsd.org
Subject:   CFT: Parallel package building script
Message-ID:  <20070415092815.GB1525@roadrunner.q.local>

next in thread | raw e-mail | index | archive | help

--aM3YZ0Iwxop3KEKx
Content-Type: multipart/mixed; boundary="FL5UXtIhxfXey3p5"
Content-Disposition: inline


--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

I wrote a script that will create a self-contained Makefile with
targets suitable to build several packages in parallel. It's ugly, but
it seems to work ok for a couple of ports.

I would now like some more widespread testing and further comments on my
approach. Especially helpful would be a benchmark of a complex package
set like x11/kde3 or x11/gnome2 on an SMP machine with good I/O
throughput (using a laptop harddrive with 4800RPM =3D=3D Not funny). Run a
serial build, then one with -jN, where N is suitable for your hardware.
Post the results :)

Requirements: Fast hardware, disk space, time.
RELENG_6 or CURRENT is required, also zsh(1) and screen(1).

For the unionfs stuff to work, you need bsdtar(1) after April 12th. For
the parallel build to work, as given in the examples you need make(1)
after April 14th or -CURRENT.

Usage notes are included in the script, have fun!

FAQ:
Q: Why not use tinderbox?
A: I was too dumb to set it up, besides it comes with plenty of
dependencies. This script is more geared towards end users instead of
developers.

Q: What about port upgrading?
A: I'm only concerned with building clean packages with custom make
flags. Updating the installed packages has to be done by some other
means (pkg_update anyone?).

Q: What about clustering?
A: Easily possible, but would suck when using make(1) for the job.


Ulrich Spoerlein
--=20
"The trouble with the dictionary is you have to know how the word is
spelled before you can look it up to see how it is spelled."
-- Will Cuppy

--FL5UXtIhxfXey3p5--

--aM3YZ0Iwxop3KEKx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGIfAv524iJyD+6d0RAngHAKCw6LuKAYCbi2zy8Nq95oJT3GAfUgCfXKRz
3m9bx8KOVEyfaKLwRegEf7I=
=Xwag
-----END PGP SIGNATURE-----

--aM3YZ0Iwxop3KEKx--



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