packages: qt4/qt4.spec - more MMX/3DNOW/SSE3/SSSE3/SSE41/SSE42/AVX switches...
arekm
arekm at pld-linux.org
Wed Nov 10 06:46:14 CET 2010
Author: arekm Date: Wed Nov 10 05:46:14 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- more MMX/3DNOW/SSE3/SSSE3/SSE41/SSE42/AVX switches; turning on per arch likely needs updates
---- Files affected:
packages/qt4:
qt4.spec (1.271 -> 1.272)
---- Diffs:
================================================================
Index: packages/qt4/qt4.spec
diff -u packages/qt4/qt4.spec:1.271 packages/qt4/qt4.spec:1.272
--- packages/qt4/qt4.spec:1.271 Tue Nov 9 22:51:09 2010
+++ packages/qt4/qt4.spec Wed Nov 10 06:46:08 2010
@@ -31,18 +31,39 @@
%bcond_without pch # disable pch in qmake
%bcond_without gtk # don't build GTK theme integration
%bcond_without system_phonon # don't build phonon libraries
+%bcond_with mmx
+%bcond_with 3dnow
%bcond_with sse # use SSE instructions in gui/painting module
%bcond_with sse2 # use SSE2 instructions
+%bcond_with sse3
+%bcond_with ssse3
+%bcond_with sse41
+%bcond_with sse42
+%bcond_with avx
#
%ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
%undefine with_ibase
%endif
+%ifarch i686
+%define with_mmx 1
+%endif
%ifarch pentium3 pentium4 %{x8664}
+%define with_mmx 1
%define with_sse 1
%endif
%ifarch pentium4 %{x8664}
+%define with_mmx 1
%define with_sse2 1
%endif
+%ifarch %{x8664}
+%define with_mmx 1
+%define with_sse 1
+%define with_sse2 1
+%define with_sse3 1
+%define with_ssse3 1
+%define with_sse41 1
+%define with_sse42 1
+%endif
# any SQL
%define _withsql 1
%{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}}
@@ -1451,8 +1472,15 @@
%{!?with_gtk:-no-gtkstyle} \
-%{!?with_pch:no-}pch \
-no-rpath \
+ %{!?with_mmx:-no-mmx} \
+ %{!?with_3dnow:-no-3dnow} \
%{!?with_sse:-no-sse} \
%{!?with_sse2:-no-sse2} \
+ %{!?with_sse3:-no-sse3} \
+ %{!?with_ssse3:-no-ssse3} \
+ %{!?with_sse41:-no-sse41} \
+ %{!?with_sse42:-no-sse42} \
+ %{!?with_avx:-no-avx} \
-qdbus \
-qt-gif \
-reduce-relocations \
@@ -2320,6 +2348,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.272 2010/11/10 05:46:08 arekm
+- more MMX/3DNOW/SSE3/SSSE3/SSE41/SSE42/AVX switches; turning on per arch likely needs updates
+
Revision 1.271 2010/11/09 21:51:09 arekm
- up to 4.7.1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/qt4/qt4.spec?r1=1.271&r2=1.272&f=u
More information about the pld-cvs-commit
mailing list