fftw: update to 3.3.9
This commit is contained in:
parent
e35d6fb87e
commit
c131e83c73
1 changed files with 13 additions and 13 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'fftw'
|
# Template file for 'fftw'
|
||||||
pkgname=fftw
|
pkgname=fftw
|
||||||
version=3.3.8
|
version=3.3.9
|
||||||
revision=2
|
revision=1
|
||||||
hostmakedepends="libtool automake"
|
hostmakedepends="libtool automake"
|
||||||
makedepends="libgomp-devel"
|
makedepends="libgomp-devel"
|
||||||
short_desc="Library for computing the discrete Fourier transform (DFT)"
|
short_desc="Library for computing the discrete Fourier transform (DFT)"
|
||||||
|
@ -9,17 +9,10 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://www.fftw.org/"
|
homepage="http://www.fftw.org/"
|
||||||
distfiles="${homepage}/fftw-${version}.tar.gz"
|
distfiles="${homepage}/fftw-${version}.tar.gz"
|
||||||
checksum=6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303
|
checksum=bf2c7ce40b04ae811af714deb512510cc2c17b9ab9d6ddcf49fe4487eea7af3d
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
|
vsed -i configure.ac -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g'
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
# Remove test which does not work when cross compiling
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
armv[78]*|aarch64*) sed -i configure.ac \
|
|
||||||
-e "/dnl Check for not-always-available (not quite) cycle counters/,+26d"
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,12 +28,12 @@ do_configure() {
|
||||||
cd ${wrksrc}/build-double
|
cd ${wrksrc}/build-double
|
||||||
../configure ${configure_args} ${CARGS} ${_sse2}
|
../configure ${configure_args} ${CARGS} ${_sse2}
|
||||||
|
|
||||||
# long double precission
|
# long double precision
|
||||||
mkdir ${wrksrc}/build-long-double
|
mkdir ${wrksrc}/build-long-double
|
||||||
cd ${wrksrc}/build-long-double
|
cd ${wrksrc}/build-long-double
|
||||||
../configure ${configure_args} ${CARGS} --enable-long-double
|
../configure ${configure_args} ${CARGS} --enable-long-double
|
||||||
|
|
||||||
# single precission
|
# single precision
|
||||||
mkdir ${wrksrc}/build-single
|
mkdir ${wrksrc}/build-single
|
||||||
cd ${wrksrc}/build-single
|
cd ${wrksrc}/build-single
|
||||||
../configure ${configure_args} ${CARGS} --enable-float ${_sse}
|
../configure ${configure_args} ${CARGS} --enable-float ${_sse}
|
||||||
|
@ -53,6 +46,13 @@ do_build() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
for f in double long-double single; do
|
||||||
|
cd ${wrksrc}/build-${f}
|
||||||
|
make DESTDIR=${DESTDIR} check
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
for f in double long-double single; do
|
for f in double long-double single; do
|
||||||
cd ${wrksrc}/build-${f}
|
cd ${wrksrc}/build-${f}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue