mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: fftw: Update phase style.
* gnu/packages/algebra.scm (fftw)[arguments]: Use MODIFY-PHASES syntax and end phase with #t.
This commit is contained in:
parent
a0d4d2d860
commit
b07e817e21
1 changed files with 5 additions and 4 deletions
|
@ -530,16 +530,17 @@ (define-public fftw
|
|||
(arguments
|
||||
'(#:configure-flags
|
||||
'("--enable-shared" "--enable-openmp" "--enable-threads")
|
||||
#:phases (alist-cons-before
|
||||
'build 'no-native
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'build 'no-native
|
||||
(lambda _
|
||||
;; By default '-mtune=native' is used. However, that may
|
||||
;; cause the use of ISA extensions (SSE2, etc.) that are
|
||||
;; not necessarily available on the user's machine when
|
||||
;; that package is built on a different machine.
|
||||
(substitute* (find-files "." "Makefile$")
|
||||
(("-mtune=native") "")))
|
||||
%standard-phases)))
|
||||
(("-mtune=native") ""))
|
||||
#t)))))
|
||||
(native-inputs `(("perl" ,perl)))
|
||||
(home-page "http://fftw.org")
|
||||
(synopsis "Computing the discrete Fourier transform")
|
||||
|
|
Loading…
Reference in a new issue