[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/30: gnu: Add threaded variants of fftw and fftwf for Ardour and mod-h
From: |
Ricardo Wurmus |
Subject: |
01/30: gnu: Add threaded variants of fftw and fftwf for Ardour and mod-host. |
Date: |
Sun, 27 Nov 2016 08:50:08 +0000 (UTC) |
rekado pushed a commit to branch master
in repository guix.
commit 45591fd7fde1a400a416cb99939f6dd766445f94
Author: Ricardo Wurmus <address@hidden>
Date: Fri Nov 25 22:58:10 2016 +0100
gnu: Add threaded variants of fftw and fftwf for Ardour and mod-host.
* gnu/packages/algebra.scm (fftw-with-threads, fftwf-with-threads): New
variables.
* gnu/packages/audio.scm (ardour)[inputs]: Replace "fftw" and "fftwf"
with "fftw-with-threads" and "fftwf-with-threads", respectively.
* gnu/packages/music.scm (mod-host)[inputs]: Likewise.
---
gnu/packages/algebra.scm | 16 ++++++++++++++++
gnu/packages/audio.scm | 4 ++--
gnu/packages/music.scm | 4 ++--
3 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 76f385e..4288913 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -576,6 +576,22 @@ cosine/ sine transforms or DCT/DST).")
(string-append (package-description fftw)
" Single-precision version."))))
+;; FIXME: These packages are used temporarily by packages like Ardour until
+;; "--enable-flags" is added to the fftw and fftwf packages.
+(define-public fftw-with-threads
+ (package (inherit fftw)
+ (arguments
+ (substitute-keyword-arguments (package-arguments fftw)
+ ((#:configure-flags flags)
+ `(cons "--enable-threads" ,flags))))))
+
+(define-public fftwf-with-threads
+ (package (inherit fftwf)
+ (arguments
+ (substitute-keyword-arguments (package-arguments fftwf)
+ ((#:configure-flags flags)
+ `(cons "--enable-threads" ,flags))))))
+
(define-public fftw-openmpi
(package (inherit fftw)
(name "fftw-openmpi")
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index b535448..66db4c5 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -238,8 +238,8 @@ namespace ARDOUR { const char* revision = \"5.4\" ; }"))))
("lv2" ,lv2)
("vamp" ,vamp)
("curl" ,curl)
- ("fftw" ,fftw)
- ("fftwf" ,fftwf)
+ ("fftw" ,fftw-with-threads)
+ ("fftwf" ,fftwf-with-threads)
("jack" ,jack-1)
("serd" ,serd)
("sord" ,sord)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 78ca558..1887919 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1744,8 +1744,8 @@ analogue-like user interface.")
#t)))))
(inputs
`(("lilv" ,lilv)
- ("fftw" ,fftw)
- ("fftwf" ,fftwf)
+ ("fftw" ,fftw-with-threads)
+ ("fftwf" ,fftwf-with-threads)
("lv2" ,lv2)
("jack" ,jack-1)
("readline" ,readline)))
- 04/30: gnu: Add perl-business-isbn-data., (continued)
- 04/30: gnu: Add perl-business-isbn-data., Ricardo Wurmus, 2016/11/27
- 03/30: gnu: Add perl-autovivification., Ricardo Wurmus, 2016/11/27
- 09/30: gnu: Add perl-data-compare., Ricardo Wurmus, 2016/11/27
- 05/30: gnu: Add perl-business-isbn., Ricardo Wurmus, 2016/11/27
- 18/30: gnu: Add perl-ipc-cmd., Ricardo Wurmus, 2016/11/27
- 10/30: gnu: Add perl-data-uniqid., Ricardo Wurmus, 2016/11/27
- 02/30: gnu: Add perl-mojolicious., Ricardo Wurmus, 2016/11/27
- 14/30: gnu: Add perl-encode-eucjpascii., Ricardo Wurmus, 2016/11/27
- 13/30: gnu: perl-encode-detect: Move to alphabetical position., Ricardo Wurmus, 2016/11/27
- 08/30: gnu: Add perl-business-ismn., Ricardo Wurmus, 2016/11/27
- 01/30: gnu: Add threaded variants of fftw and fftwf for Ardour and mod-host.,
Ricardo Wurmus <=
- 07/30: gnu: Add perl-tie-cycle., Ricardo Wurmus, 2016/11/27
- 11/30: gnu: Add perl-date-simple., Ricardo Wurmus, 2016/11/27
- 12/30: gnu: Add perl-datetime-calendar-julian., Ricardo Wurmus, 2016/11/27
- 17/30: gnu: Add perl-extutils-libbuilder., Ricardo Wurmus, 2016/11/27
- 19/30: gnu: Add perl-lingua-translit., Ricardo Wurmus, 2016/11/27
- 15/30: gnu: Add perl-encode-jis2k., Ricardo Wurmus, 2016/11/27
- 26/30: gnu: perl-unicode-linebreak: Update to 2016.003., Ricardo Wurmus, 2016/11/27
- 23/30: gnu: Add perl-text-roman., Ricardo Wurmus, 2016/11/27
- 20/30: gnu: Add perl-mozilla-ca., Ricardo Wurmus, 2016/11/27
- 28/30: gnu: Add perl-text-bibtex., Ricardo Wurmus, 2016/11/27