| 53 | variant pfft_patches description {Apply patches recommended for use as dependency of pfft port} { |
| 54 | if {![mpi_variant_isset]} { |
| 55 | ui_warn "Variant +pfft_patches has no effect without setting an MPI variant." |
| 56 | } |
| 57 | |
| 58 | # Cut from scripts at https://www-user.tu-chemnitz.de/~potts/workgroup/pippig/software.php.en#fftwinstall, |
| 59 | #Important: Within these scripts we apply the following patches that have been submitted to FFTW but are not yet included in FFTW-3.3.4: |
| 60 | # We add two more global transposition algorithms to the planner. |
| 61 | # We patch file mpi/transpose-pairwise.c in order to fix a double free bug. |
| 62 | patchfiles-append patch-pfft.diff |
| 63 | |
| 64 | # mpi/Makefile.am is modified, and effects are complicated to emulate with a patch to mpi/Makefile.in |
| 65 | use_autoreconf yes |
| 66 | } |
| 67 | |