On Sat, May 11, 2002 at 02:28:14PM -0700, David O'Brien wrote: > On Sat, May 11, 2002 at 01:43:10PM -0700, Kris Kennaway wrote: > > > +if !defined(CPUTYPE) > > > +CPUTUNE ?= ev56 > > > +.endif > > > CPUTYPE ?= ev4 > > > > What is this for? > > Unlike i386, but catering to ev4 Alpha's; we strongly pessimize modern > ones. I would almost suggest we default to ev56.. but do see enough > pre-ev56 people email the Alpha list that I know we shouldn't. > > -mtune still uses only instructions at the mcpu level, but the scheduler > uses mtune's CPU's preferences. > > While I do my own world builds, I like to use packages. Would be nice if > we had > ev4 versions of them. > > CPUTUNE is a wild-ass idea; and maybe it isn't ready to go in.
I don't think it should go in. For example, we do exactly the same thing for i386 packages, which are optimized for running on i386'es (i.e. "no higher CPU instructions or instruction scheduling") even though it's certainly the least-used CPU by users of FreeBSD. There's no reason in principle we can't build multiple sets of packages with different values of CPUTYPE, except for two things: a) Disk space on ftp-master and on the mirror sites b) Build resources for the alpha cluster (it takes 3-4 days to do a single package run, so if we start multiplying that by different CPU generations it becomes annoying) Kris
msg38220/pgp00000.pgp
Description: PGP signature