-
Hi, are there any plans for |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
cibuildwheel doesn't "support" C++ standards, technically. It depends on the OS:
You can see pypa/manylinux for the manylinux one, but the current status is manylinux1 has gcc 4.8 (C++11), manylinux2010 has gcc 8 (C++17), manylinux2014 has gcc 10 (C++17), and manylinux_2_24 has gcc 6 (C++14). Due to the loss of CentOS LTS releases, manylinux_2_24 uses Debian, so it does not have access to the RedHat Developer Toolkit, which backported modified GCC versions to older glibc. So we are loosing C++17 rather than gaining C++20 there. (NumPy was really pushing for manylinux_2_24 for better glibc special architecture support, but then found that that the downgrade to GCC 6 couldn't support what they needed on those architectures!) |
Beta Was this translation helpful? Give feedback.
-
Note that C++ standards aren't all or nothing; it often takes several compiler major versions to "fully" support a standard. cppreference's compiler support table suggests most C++20 features are supported by GCC 10. That suggests manylinux2014 is likely enough. |
Beta Was this translation helpful? Give feedback.
-
@henryiii showed me that, for manylinux, recent images do have gcc versions that have c++20 support: https://github.com/pypa/manylinux?tab=readme-ov-file#manylinux_2_34-almalinux-9-based |
Beta Was this translation helpful? Give feedback.
cibuildwheel doesn't "support" C++ standards, technically. It depends on the OS:
You can see pypa/manylinux for the manylinux one, but the current status is manylinux1 has gcc 4.8 (C++11), manylinux2010 has gcc 8 (C…