Accepting request 1068722 from KDE:Qt:5.15
Drop support for systems without SSE2 to fix boo#1208188. RFC, not built yet (forwarded request 1068677 from favogt) OBS-URL: https://build.opensuse.org/request/show/1068722 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtdeclarative?expand=0&rev=76factory
commit
8ce9696e4e
@ -1,45 +0,0 @@
|
||||
From: Fabian Vogt <fabian@ritter-vogt.de>
|
||||
Subject: Allow building with and without JIT on i586
|
||||
|
||||
For i586, the default Qt does not have sse2 enabled, but for sse2 capable systems
|
||||
we'd like to have it use the JIT. Do some patching in the configuration system
|
||||
to allow toggling it from the qmake call.
|
||||
|
||||
Originally written by Wolfgang Bauer <wbauer@tmo.at>
|
||||
|
||||
Index: qtdeclarative-everywhere-src-5.14.0-alpha/src/qml/jsruntime/jsruntime.pri
|
||||
===================================================================
|
||||
--- qtdeclarative-everywhere-src-5.14.0-alpha.orig/src/qml/jsruntime/jsruntime.pri
|
||||
+++ qtdeclarative-everywhere-src-5.14.0-alpha/src/qml/jsruntime/jsruntime.pri
|
||||
@@ -164,6 +164,10 @@ win32 {
|
||||
$$PWD/qv4functiontable_unix.cpp
|
||||
}
|
||||
|
||||
+linux-g++*:isEqual(QT_ARCH,i386):!no_sse2 {
|
||||
+ QMAKE_CFLAGS += -msse2 -mfpmath=sse
|
||||
+ QMAKE_CXXFLAGS += -msse2 -mfpmath=sse
|
||||
+}
|
||||
|
||||
valgrind {
|
||||
DEFINES += V4_USE_VALGRIND
|
||||
Index: qtdeclarative-everywhere-src-5.14.0-alpha/src/qml/configure.json
|
||||
===================================================================
|
||||
--- qtdeclarative-everywhere-src-5.14.0-alpha.orig/src/qml/configure.json
|
||||
+++ qtdeclarative-everywhere-src-5.14.0-alpha/src/qml/configure.json
|
||||
@@ -8,6 +8,7 @@
|
||||
"commandline": {
|
||||
"options": {
|
||||
"qml-network": "boolean",
|
||||
+ "qml-jit": "boolean",
|
||||
"qml-debug": "boolean"
|
||||
}
|
||||
},
|
||||
@@ -90,7 +91,7 @@
|
||||
"purpose": "Provides a JIT for QML and JavaScript",
|
||||
"section": "QML",
|
||||
"condition": [
|
||||
- " (arch.i386 && tests.pointer_32bit && features.sse2)
|
||||
+ " (arch.i386 && tests.pointer_32bit)
|
||||
|| (arch.x86_64 && tests.pointer_64bit && features.sse2)
|
||||
|| (arch.arm && tests.pointer_32bit && tests.arm_fp && tests.arm_thumb
|
||||
&& (config.linux || config.ios || config.tvos || config.qnx))
|
Loading…
Reference in New Issue