mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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
1 changed files with 42 additions and 30 deletions
|
@ -118,22 +118,28 @@ (define-public qt
|
||||||
(("/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*
|
||||||
"-verbose"
|
"./configure"
|
||||||
"-prefix" out
|
"-verbose"
|
||||||
"-opensource"
|
"-prefix" out
|
||||||
"-confirm-license"
|
"-opensource"
|
||||||
;; drop all special machine instructions
|
"-confirm-license"
|
||||||
"-no-sse2"
|
;; drop special machine instructions not supported
|
||||||
"-no-sse3"
|
;; on all instances of the target
|
||||||
"-no-ssse3"
|
,@(if (string-prefix? "x86_64"
|
||||||
"-no-sse4.1"
|
(or (%current-target-system)
|
||||||
"-no-sse4.2"
|
(%current-system)))
|
||||||
"-no-avx"
|
'()
|
||||||
"-no-avx2"
|
'("-no-sse2"))
|
||||||
"-no-neon"
|
"-no-sse3"
|
||||||
"-no-mips_dsp"
|
"-no-ssse3"
|
||||||
"-no-mips_dspr2"))))
|
"-no-sse4.1"
|
||||||
|
"-no-sse4.2"
|
||||||
|
"-no-avx"
|
||||||
|
"-no-avx2"
|
||||||
|
"-no-neon"
|
||||||
|
"-no-mips_dsp"
|
||||||
|
"-no-mips_dspr2"))))
|
||||||
%standard-phases)))
|
%standard-phases)))
|
||||||
(home-page "http://qt-project.org/")
|
(home-page "http://qt-project.org/")
|
||||||
(synopsis "Cross-platform GUI library")
|
(synopsis "Cross-platform GUI library")
|
||||||
|
@ -165,20 +171,26 @@ (define-public qt-4
|
||||||
(("/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*
|
||||||
"-verbose"
|
"./configure"
|
||||||
"-prefix" out
|
"-verbose"
|
||||||
"-opensource"
|
"-prefix" out
|
||||||
"-confirm-license"
|
"-opensource"
|
||||||
;; drop all special machine instructions
|
"-confirm-license"
|
||||||
"-no-mmx"
|
;; drop special machine instructions not supported
|
||||||
|
;; 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"
|
||||||
"-no-sse4.2"
|
"-no-sse4.2"
|
||||||
"-no-avx"
|
"-no-avx"
|
||||||
"-no-neon"))))
|
"-no-neon"))))
|
||||||
%standard-phases)))))
|
%standard-phases)))))
|
||||||
|
|
Loading…
Reference in a new issue