fftw*: update to 3.3.9 FFTW 3.3.9: * New API fftw_planner_nthreads() returns the number of threads currently being used by the planner. * Fix incorrect math in 128-bit generic SIMD * Fix wisdom for avx512. The avx512 alignment requirement was set to 64 bytes, but this is wrong. Alignment requirements are a property of the platform (e.g., x86) and not of the instruction set (e.g., AVX). Among other things, this broke wisdom with avx512. Note that avx512 support is still experimental because the FFTW authors have no avx512 hardware available for testing. * fftw_threads_set_callback function to change the threading backend at runtime.diff -r1.1 -r1.2 pkgsrc/math/fftw/Makefile.common
(wiz)
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.1 2019/05/24 15:56:21 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.2 2021/01/04 10:27:37 wiz Exp $ | |
2 | # used by math/fftw/Makefile | 2 | # used by math/fftw/Makefile | |
3 | # used by math/fftwf/Makefile | 3 | # used by math/fftwf/Makefile | |
4 | 4 | |||
5 | DISTNAME= fftw-3.3.8 | 5 | DISTNAME= fftw-3.3.9 | |
6 | CATEGORIES= math | 6 | CATEGORIES= math | |
7 | MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ | 7 | MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ | |
8 | MASTER_SITES+= http://www.fftw.org/ | 8 | MASTER_SITES+= http://www.fftw.org/ | |
9 | 9 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://www.fftw.org/ | 11 | HOMEPAGE= http://www.fftw.org/ | |
12 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
13 | 13 | |||
14 | USE_LANGUAGES= c | 14 | USE_LANGUAGES= c | |
15 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
16 | USE_TOOLS+= gmake | 16 | USE_TOOLS+= gmake | |
17 | GNU_CONFIGURE= yes | 17 | GNU_CONFIGURE= yes | |
18 | CONFIGURE_ARGS+= --enable-shared | 18 | CONFIGURE_ARGS+= --enable-shared |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.24 2018/05/30 06:45:58 adam Exp $ | 1 | $NetBSD: distinfo,v 1.25 2021/01/04 10:27:37 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (fftw-3.3.8.tar.gz) = 59831bd4b2705381ee395e54aa6e0069b10c3626 | 3 | SHA1 (fftw-3.3.9.tar.gz) = bf17b485417f0f6a896b8514a3813439fda075fc | |
4 | RMD160 (fftw-3.3.8.tar.gz) = ce2d1c266a13c96af85d51d75252417458947dc6 | 4 | RMD160 (fftw-3.3.9.tar.gz) = b0a522d47b97a63ba27720ae5f58e47fca23649e | |
5 | SHA512 (fftw-3.3.8.tar.gz) = ab918b742a7c7dcb56390a0a0014f517a6dff9a2e4b4591060deeb2c652bf3c6868aa74559a422a276b853289b4b701bdcbd3d4d8c08943acf29167a7be81a38 | 5 | SHA512 (fftw-3.3.9.tar.gz) = 52ebc2a33063a41fd478f6ea2acbf3b511867f736591d273dd57f9dfca5d3e0b0c73157921b3a36f1a7cfd741a8a6bde0fd80de578040ae730ea168b5ba466cf | |
6 | Size (fftw-3.3.8.tar.gz) = 4110137 bytes | 6 | Size (fftw-3.3.9.tar.gz) = 4146999 bytes |
@@ -1,16 +1,15 @@ | @@ -1,16 +1,15 @@ | |||
1 | # $NetBSD: Makefile,v 1.28 2020/08/31 18:10:11 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.29 2021/01/04 10:27:38 wiz Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 2 | |||
4 | .include "../../math/fftw/Makefile.common" | 3 | .include "../../math/fftw/Makefile.common" | |
5 | 4 | |||
6 | PKGNAME= ${DISTNAME:C/fftw/fftwf/} | 5 | PKGNAME= ${DISTNAME:C/fftw/fftwf/} | |
7 | 6 | |||
8 | COMMENT= Collection of fast C routines to compute DFTs | 7 | COMMENT= Collection of fast C routines to compute DFTs | |
9 | 8 | |||
10 | CONFIGURE_ARGS+= --enable-single | 9 | CONFIGURE_ARGS+= --enable-single | |
11 | 10 | |||
12 | .if ${MACHINE_ARCH} == "i386" | 11 | .if ${MACHINE_ARCH} == "i386" | |
13 | #CONFIGURE_ARGS+= --enable-sse | 12 | #CONFIGURE_ARGS+= --enable-sse | |
14 | CONFIGURE_ARGS+= --with-our-malloc16 | 13 | CONFIGURE_ARGS+= --with-our-malloc16 | |
15 | .endif | 14 | .endif | |
16 | 15 |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.11 2019/05/24 15:48:49 adam Exp $ | 1 | $NetBSD: distinfo,v 1.12 2021/01/04 10:27:38 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (fftw-3.3.8.tar.gz) = 59831bd4b2705381ee395e54aa6e0069b10c3626 | 3 | SHA1 (fftw-3.3.9.tar.gz) = bf17b485417f0f6a896b8514a3813439fda075fc | |
4 | RMD160 (fftw-3.3.8.tar.gz) = ce2d1c266a13c96af85d51d75252417458947dc6 | 4 | RMD160 (fftw-3.3.9.tar.gz) = b0a522d47b97a63ba27720ae5f58e47fca23649e | |
5 | SHA512 (fftw-3.3.8.tar.gz) = ab918b742a7c7dcb56390a0a0014f517a6dff9a2e4b4591060deeb2c652bf3c6868aa74559a422a276b853289b4b701bdcbd3d4d8c08943acf29167a7be81a38 | 5 | SHA512 (fftw-3.3.9.tar.gz) = 52ebc2a33063a41fd478f6ea2acbf3b511867f736591d273dd57f9dfca5d3e0b0c73157921b3a36f1a7cfd741a8a6bde0fd80de578040ae730ea168b5ba466cf | |
6 | Size (fftw-3.3.8.tar.gz) = 4110137 bytes | 6 | Size (fftw-3.3.9.tar.gz) = 4146999 bytes |