Commit 68650e6
committed
Fix GCC 14 / pybind11 build failure on manylinux_2_28
CMake 3.28+ with GCC 14 enables C++20 module TS scanning (-fmodules-ts),
which breaks pybind11 v2.13.1 typing.h: std::copy_n is not found under
strict module isolation. Two fixes:
- CMAKE_CXX_SCAN_FOR_MODULES OFF to suppress the -fmodules-ts flag
- pybind11 v2.13.1 → v2.13.6 which adds the missing #include <algorithm>
This unblocks the linux wheel build after the cibuildwheel v3.4.1 upgrade.1 parent a45c187 commit 68650e6
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments