ffmpeg multiple build flavors

Felipe Sateler fsateler at gmail.com
Thu Jun 19 15:52:48 UTC 2008


El 19/06/08 11:48 Fabian Greffrath escribió:
> How about this concept:
> We check DEB_HOST_ARCH_CPU. If it's "i386" or "amd64" we set a
> variable called EXTRA_FLAVOUR to "mmx" and if it's "powerpc" we set
> EXTRA_FLAVOUR to "altivec". EXTRA_FLAVOUR is empty else.
> After we back up the static libraries and before we build the
> non-optimized shared libraries we run an additional configure/make
> cycle for all flavours in EXTRA_FLAVOURS (this means zero for all
> archs that have an empty EXTRA_FLAVOURS and exactly one for those that
> have it set to a value). In this build cycle we use exactly the same
> confflags as in the non-optimized build, but whithout nooptflags. We
> back up the resulting libraries in a separate directory (or with a
> suffix) and go on to the non-optimized library build. In the install
> rule we install the optimized libraries as usual.

Are there amd64 machines that don't support mmx? AFAIK amd64 machines have at 
least SSE and SSE2, with most likely SSE3 too.

Saludos,
Felipe Sateler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20080619/fbdb1271/attachment.pgp 


More information about the pkg-multimedia-maintainers mailing list