emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44681: closed ([PATCH] gnu: gnubg: Prevent building with avx instruc


From: GNU bug Tracking System
Subject: bug#44681: closed ([PATCH] gnu: gnubg: Prevent building with avx instructions.)
Date: Wed, 18 Nov 2020 14:07:01 +0000

Your message dated Wed, 18 Nov 2020 09:05:55 -0500
with message-id <87lfeyvjy4.fsf@posteo.net>
and subject line Re: [bug#44681] [PATCH] gnu: gnubg: Prevent building with avx 
instructions.
has caused the debbugs.gnu.org bug report #44681,
regarding [PATCH] gnu: gnubg: Prevent building with avx instructions.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
44681: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44681
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: gnubg: Prevent building with avx instructions. Date: Mon, 16 Nov 2020 13:17:37 +0100
* gnu/packages/games.scm (gnubg): Prevent building with avx instructions.
[arguments]: Add configure-flags for Intel systems.
---
 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 97b0cb976d..12cc64fefa 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)
-- 
2.29.2




--- End Message ---
--- Begin Message --- Subject: Re: [bug#44681] [PATCH] gnu: gnubg: Prevent building with avx instructions. Date: Wed, 18 Nov 2020 09:05:55 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Michael Rohleder <mike@rohleder.de> writes:

> Hi Kei!
>
> Kei Kebreau <kkebreau@posteo.net> writes:
>> Please let me know whether you're okay with the commit message
>> modification, and I'll push this for you.
>
> This is perfectly fine!
> Thank you very much for reviewing, testing, rewriting, asking and
> pushing ;)

You're welcome!  This patch has been pushed to master as commit
82df93e27c.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]