stupid question: building packages for different archs

Joe Marcus Clarke marcus at marcuscom.com
Fri Nov 10 15:58:19 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fernan Aguero wrote:
> Hi!
> 
> maybe this is obvious or too stupid.
> 
> Is it possible to build packages for different architectures
> (i386, amd64) from a single tinderbox installation?

Only if you have the physical build hardware to do it.

> 
> I have some new hardware that I'm setting up, and I'm
> planning to keep a local copy of the FreeBSD CVS tree, and
> share via NFS the src, doc, ports collections from a central
> server, essentially as described here
> http://segment7.net/projects/FreeBSD/dev_setup.txt
> 
> Now, I'd also like to build packages for all my workstations
> and servers using a tinderbox on this main server. Right now
> this would mean building packages for i386 and amd64.
> 
> Is this possible? When the README mentions creating 'jails' and
> build environments, it only talks about different _branches_
> of the src collection paired with a checkout of the ports
> tree ... but there is no mention of archs.

As long as you will be building amd64 packages on an amd64 machine, and
i386 packages on an i386 machine, this will work.  Many users of
Tinderbox are doing similar things.

> 
> pointyhat is building packages for different arches ... is
> the build farm a single-arch farm? Or is it a multiple arch
> farm running several independent build environments?

There are actually multiple "farms" with multiple servers of each
architecture.  Cross-building ports is NOT supported.

> 
> Thanks, and sorry if my questions are too dumb ... I'm sure
> they're perfect for a tinderbox FAQ :)

Patches are always welcome.

Joe

- --
PGP Key : http://www.marcuscom.com/pgp.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFVOfrb2iPiv4Uz4cRAgPtAJ42Wo60ueXJl0efZyK0GpRTa/fVQwCgmnDG
PObIlYIaslwnCHAm9A5aU2E=
=Shum
-----END PGP SIGNATURE-----


More information about the tinderbox-list mailing list