Commit Graph
1 Commits
Author SHA1 Message Date
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