Up to [cvs.NetBSD.org] / pkgsrc / math / fftw
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
fftw: remove incorrect MAKE_DIRS I guess this should have been BUILD_DIRS, but that defaults to CONFIGURE_DIRS so we don't need to set it. Reported by Edgar Fuß in private mail.
math/fftw: skip check for unknown configure options The package has 3 configure script, and the top-level configure script knows all of --disable-fortran, --enable-shared and --enable-threads.
fftw*: update to 3.3.10. FFTW 3.3.10: * Fix bug that would cause 2-way SIMD (notably SSE2 in double precision) to attempt unaligned accesses in certain obscure cases, causing segfaults. The following test triggers the bug (SSE2, double precision): ./tests/bench -oexhaustive r4*2:5:3 This test computes a pair of length-4 real->complex transforms where the second input is 5 real numbers away from the first input. That is, there is a gap of one real number between the first and second input array. The -oexhaustive level allow FFTW to attempt to compute this transform by reducing it to a pair of complex transforms of length 2, but now the second input is not aligned to a complex-number boundary. The fact that 5 is odd is the problem. The bug cannot occur in complex->complex transforms because the complex interface accepts strides in units of complex numbers, so strides are aligned by construction. This bug has been around at least since fftw-3.1.2 (July 2006), and probably since fftw-3.0 (2003).
split fftw package into -long and -quad precision variants the package previously used PKG_OPTIONS for this, but PKG_OPTIONS are harmful in the case that they effect the resulting ABI of library packages. this way, things that actually need fftwl and fftwq can depend on these sub-packages. this also fixes fftwq on NetBSD by making it pull in libquadmath. another thing about PKG_OPTIONS for library components is that they mean certain components don't get tested...
math/fftw and dependents: merge math/fftwf backin and add MPI and OpenMP This yields one common package to provide libfftw3 (double) and libfftw3f (single) by default and optionally the Fortran bindings as well as OpenMP and MPI variants, and those with long double or quad precision. This changes all packages depending on fftwf in the same commit to minimize the time of inconsistency. Soon, math/fftwf will disappear.
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.
fftw: introduce Makefile.common