all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] bristol: Try to fix build on ARM + MIPS.
@ 2016-01-11 18:40 Ricardo Wurmus
  2016-01-17 16:35 ` Ricardo Wurmus
  2016-01-17 20:14 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2016-01-11 18:40 UTC (permalink / raw)
  To: Guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-bristol-Remove-SSE-flags-on-platforms-other-than.patch --]
[-- Type: text/x-patch, Size: 1314 bytes --]

From 5290edcfa5f7ae8f6363df63b7f0738a7d0de5ac Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Mon, 11 Jan 2016 19:38:11 +0100
Subject: [PATCH] gnu: bristol: Remove SSE flags on platforms other than x86_64
 and i686.

* gnu/packages/music.scm (bristol)[arguments]: Add phase
"remove-sse-flags" to remove unsupported optimizations on platforms
other than x86_64 and i686.
---
 gnu/packages/music.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index fd1751e..7f1232e 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -659,6 +659,16 @@ Laurens Hammond and Don Leslie.")
                (base32
                 "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'remove-sse-flags
+           (lambda* (#:key system #:allow-other-keys)
+             (when (not (or (string-prefix? "x86_64" system)
+                            (string-prefix? "i686" system)))
+               (substitute* "bristol/Makefile.in"
+                 (("-msse -mfpmath=sse") "")))
+             #t)))))
     (inputs
      `(("alsa-lib" ,alsa-lib)
        ("jack" ,jack-1)
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] bristol: Try to fix build on ARM + MIPS.
  2016-01-11 18:40 [PATCH] bristol: Try to fix build on ARM + MIPS Ricardo Wurmus
@ 2016-01-17 16:35 ` Ricardo Wurmus
  2016-01-17 20:14 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2016-01-17 16:35 UTC (permalink / raw)
  To: Guix-devel

I’d like to push this (or something like it) soon to fix the build on
ARM and MIPS if there are no objections.

~~ Ricardo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] bristol: Try to fix build on ARM + MIPS.
  2016-01-11 18:40 [PATCH] bristol: Try to fix build on ARM + MIPS Ricardo Wurmus
  2016-01-17 16:35 ` Ricardo Wurmus
@ 2016-01-17 20:14 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2016-01-17 20:14 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Guix-devel

Ricardo Wurmus <rekado@elephly.net> skribis:

> From 5290edcfa5f7ae8f6363df63b7f0738a7d0de5ac Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Mon, 11 Jan 2016 19:38:11 +0100
> Subject: [PATCH] gnu: bristol: Remove SSE flags on platforms other than x86_64
>  and i686.
>
> * gnu/packages/music.scm (bristol)[arguments]: Add phase
> "remove-sse-flags" to remove unsupported optimizations on platforms
> other than x86_64 and i686.

Sure, looks good!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-17 20:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-11 18:40 [PATCH] bristol: Try to fix build on ARM + MIPS Ricardo Wurmus
2016-01-17 16:35 ` Ricardo Wurmus
2016-01-17 20:14 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.