[SCM] libav/experimental: This patch to configure makes the --tune option recognise k8 core cpus (athlon64, opteron, etc). Currently configure just spits a warning, saying "unknown cpu type", and doesn't set the --march compile flag. Patch by Chris Halse Rogers <chalserogers at gmail com>.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:45:13 UTC 2013


The following commit has been merged in the experimental branch:
commit 5af837972c6583ae3f500b047b451dad7d3e64be
Author: Chris Halse Rogers <chalserogers at gmail.com>
Date:   Mon Oct 3 08:15:48 2005 +0000

    This patch to configure makes the --tune option recognise k8 core cpus
    (athlon64, opteron, etc).  Currently configure just spits a warning,
    saying "unknown cpu type", and doesn't set the --march compile flag.
    Patch by Chris Halse Rogers <chalserogers at gmail com>.
    
    Originally committed as revision 4627 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 94a94dd..5c7b1aa 100755
--- a/configure
+++ b/configure
@@ -754,7 +754,7 @@ if test $tune != "generic"; then
 	    TUNECPU=ppc970
             POWERPCMODE="64bits"
 	;;
-	i[3456]86|pentium|pentiumpro|pentium-mmx|pentium[234]|prescott|k6|k6-[23]|athlon|athlon-tbird|athlon-4|athlon-[mx]p|winchip-c6|winchip2|c3|nocona)
+	i[3456]86|pentium|pentiumpro|pentium-mmx|pentium[234]|prescott|k6|k6-[23]|athlon|athlon-tbird|athlon-4|athlon-[mx]p|winchip-c6|winchip2|c3|nocona|athlon64|k8|opteron|athlon-fx)
 	    CFLAGS="$CFLAGS -march=$tune"
 	;;
 	*)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list