[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: failing packages
From: |
Ricardo Wurmus |
Subject: |
Re: failing packages |
Date: |
Sat, 17 Oct 2015 10:11:52 +0200 |
User-agent: |
mu4e 0.9.13; emacs 24.5.1 |
Andreas Enge <address@hidden> writes:
> How about non-sequencer?
> http://hydra.gnu.org/build/725259/nixlog/1/tail-reload
>
> It fails with messages
> g++: error: unrecognized command line option â-msse2â
> g++: error: unrecognized command line option â-mfpmath=sseâ
> g++: error: unrecognized command line option â-msse2â
> g++: error: unrecognized command line option â-mfpmath=sseâ
> g++: error: unrecognized command line option â-msse2â
> g++: error: unrecognized command line option â-mfpmath=sseâ
> g++: error: unrecognized command line option â-msse2â
> g++: error: unrecognized command line option â-mfpmath=sseâ
>
> Shall we disable everything but x86_64?
No. How about the attached patch?
>From dfde69d64fa16b653d87283930cddb2082e8fa49 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <address@hidden>
Date: Sat, 17 Oct 2015 10:10:07 +0200
Subject: [PATCH] gnu: non-sequencer: Disable SSE when not building on x86_64.
* gnu/packages/music.scm (non-sequencer)[arguments]: Add "--disable-sse"
flag when not building on x86_64.
---
gnu/packages/music.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index fe8e6f1..a72f754 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -274,7 +274,13 @@ Guile.")
(build-system waf-build-system)
(arguments
`(#:tests? #f ;no "check" target
- #:configure-flags '("--project=sequencer")
+ #:configure-flags
+ (list "--project=sequencer"
+ ;; Disable the use of SSE unless on x86_64.
+ ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
+ (%current-system))))
+ '("--disable-sse")
+ '()))
#:python ,python-2))
(inputs
`(("jack" ,jack-1)
--
2.5.0
- Re: failing packages, (continued)
Re: failing packages, Andreas Enge, 2015/10/16
- Re: failing packages, Andreas Enge, 2015/10/16
- Re: failing packages, Pjotr Prins, 2015/10/17
- Re: failing packages, Andreas Enge, 2015/10/17
- Re: failing packages, Ricardo Wurmus, 2015/10/17
- Re: failing packages, Andreas Enge, 2015/10/17
- Re: failing packages, Ricardo Wurmus, 2015/10/18
Re: failing packages, Andreas Enge, 2015/10/17
Re: failing packages, Andreas Enge, 2015/10/17
Re: failing packages, Efraim Flashner, 2015/10/17
Re: failing packages, Federico Beffa, 2015/10/17