[SCM] ffmpeg/master: Disable more MIPS optimization options

jcowgill at users.alioth.debian.org jcowgill at users.alioth.debian.org
Tue Aug 1 16:39:00 UTC 2017


The following commit has been merged in the master branch:
commit 048055c0f8af252dff2c8707287edd8e0345cd27
Author: James Cowgill <jcowgill at debian.org>
Date:   Tue Aug 1 15:06:13 2017 +0100

    Disable more MIPS optimization options
    
    Disable loongson2, mmi, mips32r5 and msa which might not be supported
    on all processors.
    
    Also clarify the reason why mipsfpu is disabled, even though it should
    theoretically be supported on all MIPS processors Debian can run on.

diff --git a/debian/rules b/debian/rules
index 26e90ca..6698cdb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -165,14 +165,20 @@ ifneq (,$(filter $(DEB_HOST_ARCH),x32))
 	CONFIG += --disable-asm
 endif
 
-# Disable optimizations on mips(el) and some on mips64(el), because they are not always available on these architectures.
+# Disable some optimizations on mips*, because they are not always available on these architectures
 ifneq (,$(filter $(DEB_HOST_ARCH),mips mipsel mips64 mips64el))
 	CONFIG += --disable-mipsdsp \
 		--disable-mipsdspr2 \
+		--disable-loongson2 \
 		--disable-loongson3 \
+		--disable-mmi \
+		--disable-mips32r5 \
 		--disable-mips32r6 \
-		--disable-mips64r6
+		--disable-mips64r6 \
+		--disable-msa
 endif
+
+# Disable mipsfpu on mips and mipsel, because it is not compatible with the FPXX ABI
 ifneq (,$(filter $(DEB_HOST_ARCH),mips mipsel))
 	CONFIG += --disable-mipsfpu
 endif

-- 
ffmpeg packaging



More information about the pkg-multimedia-commits mailing list