Commit Graph
3 Commits
Author SHA1 Message Date
andrey 5cef4ec19b Ship pocketfft patch in git-am-able (format-patch) form 2026-10-18 18:53:44 +00:00
andrey ba897e0911 Add pending upstream pocketfft patch: POCKETFFT_NO_EXCEPTIONS option
PocketFFT (3rd/pocketfft, vendored 2018 version) cannot be compiled with
-fno-exceptions, which PIP uses on all non-Windows/non-Android targets.
This adds the proposed upstream patch adding a POCKETFFT_NO_EXCEPTIONS
option (error paths abort with a diagnostic instead of throwing), plus
the PR description for submission to mreineck/pocketfft.

Verified: PIP builds with current upstream master + this patch and
'-fno-exceptions -DPOCKETFFT_NO_EXCEPTIONS -DPOCKETFFT_NO_MULTITHREADING'
and passes the FFT functional test suite.

After the upstream PR is merged, bump the vendored header and drop the
local workarounds.
2026-10-18 18:46:59 +00:00
peri4 aa710956f1 add PIFFTBase as interface, storage and base functionality
change PIFFT<T> from alglib to PocketFFT
2026-10-18 00:21:27 +03:00