tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building MPlayer without runtime cpu detection

Greg Troxel <> writes:

> This raises the issue of whether autodetection is ever ok by default.
> With 10 seconds of thought, it seems like we should have some sort of
> option perhaps 'cpudetection' that is by default unset but for various
> packages will tune the code for the current CPU.  By default the package
> should make code that will run on all processors within the processor
> family that are supported by the target OS.

We do offer the lovely and talented devel/cpuflags for this purpose.

IMO, such autodetection should always be off by default (by default,
packages should be built for as wide an audience as possible), but
perhaps performance-sensitive packages could have a build option to pull
in cpuflags as a build depend, and use it?

                                Jim Wise

Attachment: pgpz0UhIZYWzY.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index