Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#19172 - [fftw] enable sse2 on any arch

Attached to Project: Arch Linux
Opened by Nathanael Schaeffer (john_schaf) - Monday, 19 April 2010, 11:15 GMT
Last edited by Allan McRae (Allan) - Saturday, 19 February 2011, 07:13 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

fftw is a high performance fourier transform.
As such, archlinux could distribute it with better compilation option than the current ones.
In fact, upstream give some recommandation that we should follow (I think) :
http://www.fftw.org/doc/Installation-on-Unix.html#Installation-on-Unix

Of course one can also recompile fftw on his own system, which I gladly do with abs :-)

What I would recommand, is :
- unsetting CFLAGS : fftw will choose better compiling options.
- using --enable-sse2 for double precison and --enable-sse for single precison (this does NOT prevent it to run on non-sse2 systems !)
- using --enable-portable-binary : generates a portable binary.
- using --with-gcc-arch=arch : set the correct architecture.
(- optionnaly --enable-threads, if the other feature request  FS#18541  is accepted.)

The resulting code will still work on earlier CPUs lacking the SSE/SSE2 extensions (automatically disabled, although the FFTW library is still larger)

Additional info:
see proposed PKGBUILD.

   PKGBUILD (1.5 KiB)
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 19 February 2011, 07:13 GMT
Reason for closing:  Implemented
Additional comments about closing:  fftw-3.2.2-2
Comment by Nathanael Schaeffer (john_schaf) - Tuesday, 29 June 2010, 09:42 GMT
No opinions on this proposed change and PKGBUILD ?

Loading...