gnu: qt: Enable SIMD instructions available on x86_64.
* gnu/packages/qt.scm (qt, qt-4): Enable mmx, 3dnow, sse and sse2 on x86_64.
This commit is contained in:
parent
a6c116c703
commit
206a52089a
|
@ -118,13 +118,19 @@ X11 (yet).")
|
||||||
(("/bin/pwd") (which "pwd")))
|
(("/bin/pwd") (which "pwd")))
|
||||||
;; do not pass "--enable-fast-install", which makes the
|
;; do not pass "--enable-fast-install", which makes the
|
||||||
;; configure process fail
|
;; configure process fail
|
||||||
(zero? (system* "./configure"
|
(zero? (system*
|
||||||
|
"./configure"
|
||||||
"-verbose"
|
"-verbose"
|
||||||
"-prefix" out
|
"-prefix" out
|
||||||
"-opensource"
|
"-opensource"
|
||||||
"-confirm-license"
|
"-confirm-license"
|
||||||
;; drop all special machine instructions
|
;; drop special machine instructions not supported
|
||||||
"-no-sse2"
|
;; on all instances of the target
|
||||||
|
,@(if (string-prefix? "x86_64"
|
||||||
|
(or (%current-target-system)
|
||||||
|
(%current-system)))
|
||||||
|
'()
|
||||||
|
'("-no-sse2"))
|
||||||
"-no-sse3"
|
"-no-sse3"
|
||||||
"-no-ssse3"
|
"-no-ssse3"
|
||||||
"-no-sse4.1"
|
"-no-sse4.1"
|
||||||
|
@ -165,16 +171,22 @@ developers using C++ or QML, a CSS & JavaScript like language.")
|
||||||
(("/bin/pwd") (which "pwd")))
|
(("/bin/pwd") (which "pwd")))
|
||||||
;; do not pass "--enable-fast-install", which makes the
|
;; do not pass "--enable-fast-install", which makes the
|
||||||
;; configure process fail
|
;; configure process fail
|
||||||
(zero? (system* "./configure"
|
(zero? (system*
|
||||||
|
"./configure"
|
||||||
"-verbose"
|
"-verbose"
|
||||||
"-prefix" out
|
"-prefix" out
|
||||||
"-opensource"
|
"-opensource"
|
||||||
"-confirm-license"
|
"-confirm-license"
|
||||||
;; drop all special machine instructions
|
;; drop special machine instructions not supported
|
||||||
"-no-mmx"
|
;; on all instances of the target
|
||||||
|
,@(if (string-prefix? "x86_64"
|
||||||
|
(or (%current-target-system)
|
||||||
|
(%current-system)))
|
||||||
|
'()
|
||||||
|
'("-no-mmx"
|
||||||
"-no-3dnow"
|
"-no-3dnow"
|
||||||
"-no-sse"
|
"-no-sse"
|
||||||
"-no-sse2"
|
"-no-sse2"))
|
||||||
"-no-sse3"
|
"-no-sse3"
|
||||||
"-no-ssse3"
|
"-no-ssse3"
|
||||||
"-no-sse4.1"
|
"-no-sse4.1"
|
||||||
|
|
Loading…
Reference in New Issue