Date: Saturday, May 14, 2016 @ 20:19:44 Author: arojas Revision: 267993
archrelease: copy trunk to extra-i686, extra-x86_64 Added: fftw/repos/extra-i686/PKGBUILD (from rev 267992, fftw/trunk/PKGBUILD) fftw/repos/extra-x86_64/PKGBUILD (from rev 267992, fftw/trunk/PKGBUILD) Deleted: fftw/repos/extra-i686/PKGBUILD fftw/repos/extra-i686/fftw.install fftw/repos/extra-x86_64/PKGBUILD fftw/repos/extra-x86_64/fftw.install ---------------------------+ /PKGBUILD | 126 ++++++++++++++++++++++++++++++++++++++++++++ extra-i686/PKGBUILD | 64 ---------------------- extra-i686/fftw.install | 24 -------- extra-x86_64/PKGBUILD | 64 ---------------------- extra-x86_64/fftw.install | 24 -------- 5 files changed, 126 insertions(+), 176 deletions(-) Deleted: extra-i686/PKGBUILD =================================================================== --- extra-i686/PKGBUILD 2016-05-14 18:19:13 UTC (rev 267992) +++ extra-i686/PKGBUILD 2016-05-14 18:19:44 UTC (rev 267993) @@ -1,64 +0,0 @@ -# $Id$ -# Maintainer: Ronald van Haren <ronald.archlinux.org> -# Contributor: damir <da...@archlinux.org> - -pkgname=fftw -pkgver=3.3.4 -pkgrel=1 -pkgdesc="A library for computing the discrete Fourier transform (DFT)" -arch=('i686' 'x86_64') -license=('GPL2') -url="http://www.fftw.org/" -depends=('bash' 'gcc-libs') -makedepends=('gcc-fortran') -source=("http://www.fftw.org/${pkgname}-${pkgver}.tar.gz") -install=fftw.install -sha1sums=('fd508bac8ac13b3a46152c54b7ac885b69734262') - -# notes: -# http://www.fftw.org/fftw2_doc/fftw_6.html#SEC69 -# http://www.fftw.org/faq/section2.html#singleprec -# http://www.fftw.org/fftw3_doc/Precision.html#Precision - - -build() { - cd ${srcdir} - - cp -a ${pkgname}-${pkgver} ${pkgname}-${pkgver}-double - cp -a ${pkgname}-${pkgver} ${pkgname}-${pkgver}-long-double - mv ${pkgname}-${pkgver} ${pkgname}-${pkgver}-single - - - # use upstream default CFLAGS while keeping our -march/-mtune - CFLAGS+=" -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math" - - CONFIGURE="./configure F77=gfortran --prefix=/usr \ - --enable-shared --enable-threads \ - --enable-openmp" - - # build double precision - cd ${srcdir}/${pkgname}-${pkgver}-double - $CONFIGURE --enable-sse2 --enable-avx - make - - # build & install long double precission - cd ${srcdir}/${pkgname}-${pkgver}-long-double - $CONFIGURE --enable-long-double - make - - # build & install single precision - cd ${srcdir}/${pkgname}-${pkgver}-single - $CONFIGURE --enable-float --enable-sse --enable-avx - make -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver}-double - make DESTDIR=${pkgdir} install - - cd ${srcdir}/${pkgname}-${pkgver}-long-double - make DESTDIR=${pkgdir} install - - cd ${srcdir}/${pkgname}-${pkgver}-single - make DESTDIR=${pkgdir} install -} Copied: fftw/repos/extra-i686/PKGBUILD (from rev 267992, fftw/trunk/PKGBUILD) =================================================================== --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2016-05-14 18:19:44 UTC (rev 267993) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: damir <da...@archlinux.org> + +pkgname=fftw +pkgver=3.3.4 +pkgrel=2 +pkgdesc="A library for computing the discrete Fourier transform (DFT)" +arch=('i686' 'x86_64') +license=('GPL2') +url="http://www.fftw.org/" +depends=('bash' 'gcc-libs') +makedepends=('gcc-fortran') +source=("http://www.fftw.org/${pkgname}-${pkgver}.tar.gz") +sha1sums=('fd508bac8ac13b3a46152c54b7ac885b69734262') + +# notes: +# http://www.fftw.org/fftw2_doc/fftw_6.html#SEC69 +# http://www.fftw.org/faq/section2.html#singleprec +# http://www.fftw.org/fftw3_doc/Precision.html#Precision + + +build() { + cd ${srcdir} + + cp -a ${pkgname}-${pkgver} ${pkgname}-${pkgver}-double + cp -a ${pkgname}-${pkgver} ${pkgname}-${pkgver}-long-double + mv ${pkgname}-${pkgver} ${pkgname}-${pkgver}-single + + + # use upstream default CFLAGS while keeping our -march/-mtune + CFLAGS+=" -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math" + + CONFIGURE="./configure F77=gfortran --prefix=/usr \ + --enable-shared --enable-threads \ + --enable-openmp" + + # build double precision + cd ${srcdir}/${pkgname}-${pkgver}-double + $CONFIGURE --enable-sse2 --enable-avx + make + + # build & install long double precission + cd ${srcdir}/${pkgname}-${pkgver}-long-double + $CONFIGURE --enable-long-double + make + + # build & install single precision + cd ${srcdir}/${pkgname}-${pkgver}-single + $CONFIGURE --enable-float --enable-sse --enable-avx + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver}-double + make DESTDIR=${pkgdir} install + + cd ${srcdir}/${pkgname}-${pkgver}-long-double + make DESTDIR=${pkgdir} install + + cd ${srcdir}/${pkgname}-${pkgver}-single + make DESTDIR=${pkgdir} install +} Deleted: extra-i686/fftw.install =================================================================== --- extra-i686/fftw.install 2016-05-14 18:19:13 UTC (rev 267992) +++ extra-i686/fftw.install 2016-05-14 18:19:44 UTC (rev 267993) @@ -1,24 +0,0 @@ -info_dir=/usr/share/info -info_files=(fftw3.info) - -post_install() { - [[ -x usr/bin/install-info ]] || return 0 - for f in ${info_files[@]}; do - install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} - -post_upgrade() { - post_install -} - -pre_remove() { - [[ -x usr/bin/install-info ]] || return 0 - for f in ${info_files[@]}; do - install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} - - - - Deleted: extra-x86_64/PKGBUILD =================================================================== --- extra-x86_64/PKGBUILD 2016-05-14 18:19:13 UTC (rev 267992) +++ extra-x86_64/PKGBUILD 2016-05-14 18:19:44 UTC (rev 267993) @@ -1,64 +0,0 @@ -# $Id$ -# Maintainer: Ronald van Haren <ronald.archlinux.org> -# Contributor: damir <da...@archlinux.org> - -pkgname=fftw -pkgver=3.3.4 -pkgrel=1 -pkgdesc="A library for computing the discrete Fourier transform (DFT)" -arch=('i686' 'x86_64') -license=('GPL2') -url="http://www.fftw.org/" -depends=('bash' 'gcc-libs') -makedepends=('gcc-fortran') -source=("http://www.fftw.org/${pkgname}-${pkgver}.tar.gz") -install=fftw.install -sha1sums=('fd508bac8ac13b3a46152c54b7ac885b69734262') - -# notes: -# http://www.fftw.org/fftw2_doc/fftw_6.html#SEC69 -# http://www.fftw.org/faq/section2.html#singleprec -# http://www.fftw.org/fftw3_doc/Precision.html#Precision - - -build() { - cd ${srcdir} - - cp -a ${pkgname}-${pkgver} ${pkgname}-${pkgver}-double - cp -a ${pkgname}-${pkgver} ${pkgname}-${pkgver}-long-double - mv ${pkgname}-${pkgver} ${pkgname}-${pkgver}-single - - - # use upstream default CFLAGS while keeping our -march/-mtune - CFLAGS+=" -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math" - - CONFIGURE="./configure F77=gfortran --prefix=/usr \ - --enable-shared --enable-threads \ - --enable-openmp" - - # build double precision - cd ${srcdir}/${pkgname}-${pkgver}-double - $CONFIGURE --enable-sse2 --enable-avx - make - - # build & install long double precission - cd ${srcdir}/${pkgname}-${pkgver}-long-double - $CONFIGURE --enable-long-double - make - - # build & install single precision - cd ${srcdir}/${pkgname}-${pkgver}-single - $CONFIGURE --enable-float --enable-sse --enable-avx - make -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver}-double - make DESTDIR=${pkgdir} install - - cd ${srcdir}/${pkgname}-${pkgver}-long-double - make DESTDIR=${pkgdir} install - - cd ${srcdir}/${pkgname}-${pkgver}-single - make DESTDIR=${pkgdir} install -} Copied: fftw/repos/extra-x86_64/PKGBUILD (from rev 267992, fftw/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2016-05-14 18:19:44 UTC (rev 267993) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: damir <da...@archlinux.org> + +pkgname=fftw +pkgver=3.3.4 +pkgrel=2 +pkgdesc="A library for computing the discrete Fourier transform (DFT)" +arch=('i686' 'x86_64') +license=('GPL2') +url="http://www.fftw.org/" +depends=('bash' 'gcc-libs') +makedepends=('gcc-fortran') +source=("http://www.fftw.org/${pkgname}-${pkgver}.tar.gz") +sha1sums=('fd508bac8ac13b3a46152c54b7ac885b69734262') + +# notes: +# http://www.fftw.org/fftw2_doc/fftw_6.html#SEC69 +# http://www.fftw.org/faq/section2.html#singleprec +# http://www.fftw.org/fftw3_doc/Precision.html#Precision + + +build() { + cd ${srcdir} + + cp -a ${pkgname}-${pkgver} ${pkgname}-${pkgver}-double + cp -a ${pkgname}-${pkgver} ${pkgname}-${pkgver}-long-double + mv ${pkgname}-${pkgver} ${pkgname}-${pkgver}-single + + + # use upstream default CFLAGS while keeping our -march/-mtune + CFLAGS+=" -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math" + + CONFIGURE="./configure F77=gfortran --prefix=/usr \ + --enable-shared --enable-threads \ + --enable-openmp" + + # build double precision + cd ${srcdir}/${pkgname}-${pkgver}-double + $CONFIGURE --enable-sse2 --enable-avx + make + + # build & install long double precission + cd ${srcdir}/${pkgname}-${pkgver}-long-double + $CONFIGURE --enable-long-double + make + + # build & install single precision + cd ${srcdir}/${pkgname}-${pkgver}-single + $CONFIGURE --enable-float --enable-sse --enable-avx + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver}-double + make DESTDIR=${pkgdir} install + + cd ${srcdir}/${pkgname}-${pkgver}-long-double + make DESTDIR=${pkgdir} install + + cd ${srcdir}/${pkgname}-${pkgver}-single + make DESTDIR=${pkgdir} install +} Deleted: extra-x86_64/fftw.install =================================================================== --- extra-x86_64/fftw.install 2016-05-14 18:19:13 UTC (rev 267992) +++ extra-x86_64/fftw.install 2016-05-14 18:19:44 UTC (rev 267993) @@ -1,24 +0,0 @@ -info_dir=/usr/share/info -info_files=(fftw3.info) - -post_install() { - [[ -x usr/bin/install-info ]] || return 0 - for f in ${info_files[@]}; do - install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} - -post_upgrade() { - post_install -} - -pre_remove() { - [[ -x usr/bin/install-info ]] || return 0 - for f in ${info_files[@]}; do - install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} - - - -