[MPlayer-dev-eng] [PATCH] distcc support

Andrew Savchenko bircoph at gmail.com
Fri Aug 14 17:17:58 CEST 2009


Hello,

today distcc is useless for mplayer without overridden CFLAGS, 
because it uses -march=native optimization, thus effectively 
disables distcc if present.

distcc.patch enables distcc support, it is detected via 3 documented 
ways of distcc setup. Patch disables native optimization if needed. 
Also it adds '-m32' to flags on x86_32, because some distcc setups 
use x86_64 compilers on helpers systems to compile 32-bit code.

Next two patches enables support for some CPUs missed from the 
autodetection script and supported by recent gcc versions (as of 
4.3.4): k8-sse3 and amdfam10. They are not required if distcc is 
not present: native will be used instead, but they are needed for 
proper distcc support.

The second patch enables check sse3 (a.k.a PNI instructions). This 
check is needed in order to distinguish between k8 and k8-sse3, 
because they share the same CPU family. It may also be useful for 
future SSE3 optimizations.

The last patch enables support for k8-sse3 and amdfam10 (a.k.a. 
barcelona) CPUs.

-- 
Best regards,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: distcc.patch
Type: text/x-diff
Size: 2428 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090814/bb4dbe55/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sse3.patch
Type: text/x-diff
Size: 2123 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090814/bb4dbe55/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new-cpus.patch
Type: text/x-diff
Size: 2022 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090814/bb4dbe55/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090814/bb4dbe55/attachment.pgp>


More information about the MPlayer-dev-eng mailing list