[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: webkitgtk: Disable SSE2 when not on x86_64.
From: |
guix-commits |
Subject: |
branch master updated: gnu: webkitgtk: Disable SSE2 when not on x86_64. |
Date: |
Sat, 06 Nov 2021 05:36:11 -0400 |
This is an automated email from the git hooks/post-receive script.
lilyp pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new d82fd7c gnu: webkitgtk: Disable SSE2 when not on x86_64.
d82fd7c is described below
commit d82fd7c2dd542693988f61fb15c020e3209ac7ec
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sat Nov 6 09:21:02 2021 +0100
gnu: webkitgtk: Disable SSE2 when not on x86_64.
* gnu/packages/webkit.scm (webkitgtk)[#:phases]: Add ‘disable-sse2’ if the
current (target) system is not an x86_64 one.
---
gnu/packages/webkit.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index a184cc9..5931402 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -295,6 +295,13 @@ acceleration in mind, leveraging common 3D graphics APIs
for best performance.")
(("libWPEBackend-fdo-([\\.0-9]+)\\.so" all version)
(string-append wpebackend-fdo "/lib/" all)))
#t)))
+ ,@(if (string-prefix? "x86_64" (or (%current-target-system)
+ (%current-system)))
+ '()
+ '((add-after 'unpack 'disable-sse2
+ (lambda _
+ (substitute* "Source/cmake/DetectSSE2.cmake"
+ (("CHECK_FOR_SSE2\\(\\)") ""))))))
(add-before 'configure 'prepare-build-environment
(lambda* (#:key inputs #:allow-other-keys)
(setenv "CC" "clang")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: webkitgtk: Disable SSE2 when not on x86_64.,
guix-commits <=