[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: gnubg: Prevent building with AVX instruction
From: |
guix-commits |
Subject: |
branch master updated: gnu: gnubg: Prevent building with AVX instructions. |
Date: |
Wed, 18 Nov 2020 09:03:58 -0500 |
This is an automated email from the git hooks/post-receive script.
kkebreau pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 82df93e gnu: gnubg: Prevent building with AVX instructions.
82df93e is described below
commit 82df93e27c57f939c71d9bd184c70d21fa6f605f
Author: Michael Rohleder <mike@rohleder.de>
AuthorDate: Mon Nov 16 13:17:37 2020 +0100
gnu: gnubg: Prevent building with AVX instructions.
* gnu/packages/games.scm (gnubg)[arguments]: Add configure-flags for Intel
systems to build without AVX instructions.
Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
---
gnu/packages/games.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 97b0cb9..12cc64f 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1605,7 +1605,14 @@ such as chess or stockfish.")
(native-inputs `(("python-2" ,python-2)
("pkg-config" ,pkg-config)))
(arguments
- `(#:phases
+ `(#:configure-flags
+ ;; SSE instructions are available on Intel systems only.
+ (list ,@(if (any (cute string-prefix? <> (or (%current-target-system)
+ (%current-system)))
+ '("x86_64" "i686"))
+ '("--enable-simd=sse2") ; prevent avx instructions
+ '()))
+ #:phases
(modify-phases %standard-phases
(add-after 'install 'install-desktop-file
(lambda* (#:key outputs #:allow-other-keys)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: gnubg: Prevent building with AVX instructions.,
guix-commits <=