diff options
author | Danny Rawlins <romster@shortcircuit.net.au> | 2007-02-23 15:10:12 +1100 |
---|---|---|
committer | Danny Rawlins <romster@shortcircuit.net.au> | 2007-02-23 15:10:12 +1100 |
commit | bdaa213f34cd879b595e023f47632fabd965ffab (patch) | |
tree | f50c0734235463c52fef91d76046b5e96c331919 /fftw | |
parent | 0f13621ad95350652c29222c9bdc4f08da662876 (diff) | |
download | contrib-bdaa213f34cd879b595e023f47632fabd965ffab.tar.gz contrib-bdaa213f34cd879b595e023f47632fabd965ffab.tar.xz |
fftw: edit config to include double precision support, thanks to vico, also added more optimize flags
Diffstat (limited to 'fftw')
-rw-r--r-- | fftw/.footprint | 14 | ||||
-rw-r--r-- | fftw/Pkgfile | 41 |
2 files changed, 41 insertions, 14 deletions
diff --git a/fftw/.footprint b/fftw/.footprint index c80d09918..e6c43d67e 100644 --- a/fftw/.footprint +++ b/fftw/.footprint @@ -1,5 +1,6 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/fftw-wisdom -rwxr-xr-x root/root usr/bin/fftw-wisdom-to-conf -rwxr-xr-x root/root usr/bin/fftwf-wisdom -rwxr-xr-x root/root usr/bin/fftwl-wisdom @@ -7,6 +8,16 @@ drwxr-xr-x root/root usr/include/ -rw-r--r-- root/root usr/include/fftw3.f -rw-r--r-- root/root usr/include/fftw3.h 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 @@ -28,11 +39,12 @@ 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 -rw-r--r-- root/root usr/lib/pkgconfig/fftw3l.pc drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man1/ -rw-r--r-- root/root usr/man/man1/fftw-wisdom-to-conf.1.gz +-rw-r--r-- root/root usr/man/man1/fftw-wisdom.1.gz -rw-r--r-- root/root usr/man/man1/fftwf-wisdom.1.gz -rw-r--r-- root/root usr/man/man1/fftwl-wisdom.1.gz -drwxr-xr-x root/root usr/share/ diff --git a/fftw/Pkgfile b/fftw/Pkgfile index 976b064ed..11f553fc3 100644 --- a/fftw/Pkgfile +++ b/fftw/Pkgfile @@ -6,13 +6,15 @@ name=fftw version=3.1.2 -release=1 -source=(http://www.fftw.org/$name-$version.tar.gz) +release=2 +source=(http://www.fftw.org/fftw-$version.tar.gz) build() { - export CFLAGS="$CFLAGS -O3" - export CXXFLAGS="$CXXFLAGS -O3" - export FFLAGS="$FFLAGS -O3" + cd fftw-$version + + export CFLAGS="-O3 -mtune=$(uname -p) -pipe -fomit-frame-pointer" + export CXXFLAGS="-O3 -mtune=$(uname -p) -pipe -fomit-frame-pointer" + export FFLAGS="-O3 -mtune=$(uname -p) -pipe -fomit-frame-pointer" local Configure=' --prefix=/usr @@ -21,11 +23,9 @@ build() { --enable-type-prefix --with-gnu-ld --disable-nls ---enable-shared' - - cd $name-$version - ## compiling double precision library +--enable-shared' + ## compiling long double precision library ./configure \ $Configure \ --enable-long-double \ @@ -34,9 +34,11 @@ build() { # --enable-sse2 # --enable-altivec - make && make DESTDIR=$PKG install && make clean - ## compiling single precision library + make + make DESTDIR=$PKG install + make clean + ## compiling single precision library ./configure \ $Configure \ --enable-single \ @@ -45,7 +47,20 @@ build() { # --enable-sse2 # --enable-altivec - make && make DESTDIR=$PKG install - rm -r $PKG/usr/share/info + make + make DESTDIR=$PKG install + make clean + + ## compiling double precision library + ./configure \ + $Configure \ +# --enable-k7 +# --enable-sse +# --enable-sse2 +# --enable-altivec + + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share } |