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'
|
||||
pkgname=fftw
|
||||
version=3.3.8
|
||||
revision=2
|
||||
version=3.3.9
|
||||
revision=1
|
||||
hostmakedepends="libtool automake"
|
||||
makedepends="libgomp-devel"
|
||||
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"
|
||||
homepage="http://www.fftw.org/"
|
||||
distfiles="${homepage}/fftw-${version}.tar.gz"
|
||||
checksum=6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303
|
||||
checksum=bf2c7ce40b04ae811af714deb512510cc2c17b9ab9d6ddcf49fe4487eea7af3d
|
||||
|
||||
pre_configure() {
|
||||
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
|
||||
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
|
||||
vsed -i configure.ac -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g'
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
|
@ -35,12 +28,12 @@ do_configure() {
|
|||
cd ${wrksrc}/build-double
|
||||
../configure ${configure_args} ${CARGS} ${_sse2}
|
||||
|
||||
# long double precission
|
||||
# long double precision
|
||||
mkdir ${wrksrc}/build-long-double
|
||||
cd ${wrksrc}/build-long-double
|
||||
../configure ${configure_args} ${CARGS} --enable-long-double
|
||||
|
||||
# single precission
|
||||
# single precision
|
||||
mkdir ${wrksrc}/build-single
|
||||
cd ${wrksrc}/build-single
|
||||
../configure ${configure_args} ${CARGS} --enable-float ${_sse}
|
||||
|
@ -53,6 +46,13 @@ do_build() {
|
|||
done
|
||||
}
|
||||
|
||||
do_check() {
|
||||
for f in double long-double single; do
|
||||
cd ${wrksrc}/build-${f}
|
||||
make DESTDIR=${DESTDIR} check
|
||||
done
|
||||
}
|
||||
|
||||
do_install() {
|
||||
for f in double long-double single; do
|
||||
cd ${wrksrc}/build-${f}
|
||||
|
|
Loading…
Reference in a new issue