fftw: partial revert, remove enable cpu specific optimisations, broken for sse2 ok for k7, not worth messing with
This commit is contained in:
parent
b7e7059293
commit
da039b4caa
@ -10,16 +10,34 @@ drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libfftw3.a
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3.la
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3.so -> libfftw3.so.3.1.2
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3.so.3 -> libfftw3.so.3.1.2
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3.so.3.1.2
|
||||
-rw-r--r-- root/root usr/lib/libfftw3_threads.a
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3_threads.la
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3_threads.so -> libfftw3_threads.so.3.1.2
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3_threads.so.3 -> libfftw3_threads.so.3.1.2
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3_threads.so.3.1.2
|
||||
-rw-r--r-- root/root usr/lib/libfftw3f.a
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3f.la
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3f.so -> libfftw3f.so.3.1.2
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3f.so.3 -> libfftw3f.so.3.1.2
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3f.so.3.1.2
|
||||
-rw-r--r-- root/root usr/lib/libfftw3f_threads.a
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3f_threads.la
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3f_threads.so -> libfftw3f_threads.so.3.1.2
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3f_threads.so.3 -> libfftw3f_threads.so.3.1.2
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3f_threads.so.3.1.2
|
||||
-rw-r--r-- root/root usr/lib/libfftw3l.a
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3l.la
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3l.so -> libfftw3l.so.3.1.2
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3l.so.3 -> libfftw3l.so.3.1.2
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3l.so.3.1.2
|
||||
-rw-r--r-- root/root usr/lib/libfftw3l_threads.a
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3l_threads.la
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3l_threads.so -> libfftw3l_threads.so.3.1.2
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3l_threads.so.3 -> libfftw3l_threads.so.3.1.2
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3l_threads.so.3.1.2
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/fftw3.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/fftw3f.pc
|
||||
|
21
fftw/Pkgfile
21
fftw/Pkgfile
@ -7,7 +7,7 @@
|
||||
|
||||
name=fftw
|
||||
version=3.1.2
|
||||
release=3
|
||||
release=4
|
||||
source=(http://www.fftw.org/fftw-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
@ -25,23 +25,8 @@ build() {
|
||||
--enable-threads
|
||||
--enable-type-prefix
|
||||
--with-gnu-ld
|
||||
--disable-nls'
|
||||
|
||||
# processor-specific optimisations that only worked if
|
||||
# not using shared librarys
|
||||
if [ -z $FFTW_SHARED ]; then
|
||||
if grep '^flags' /proc/cpuinfo |grep sse2 > /dev/null; then
|
||||
config="$config --enable-sse2" # intel
|
||||
elif grep '^flags' /proc/cpuinfo |grep sse > /dev/null; then
|
||||
config="$config --enable-sse" # intel
|
||||
elif grep '^flags' /proc/cpuinfo |grep 3dnow > /dev/null; then
|
||||
config="$config --enable-k7" # althon
|
||||
elif grep '^flags' /proc/cpuinfo |grep altivec > /dev/null; then
|
||||
config="$config --enable-altivec" # ppc
|
||||
fi
|
||||
else
|
||||
config="$config --enable-shared"
|
||||
fi
|
||||
--disable-nls
|
||||
--enable-shared'
|
||||
|
||||
# compiling long double precision library
|
||||
./configure \
|
||||
|
Loading…
x
Reference in New Issue
Block a user