pybind11/pybind11
Jerome Robert 9e8a741baa
fix: Mingw64 corrected and add a CI job to test it (#3132)
* mingw64 platform string is like mingw_xxx not "mingw"

See https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-python/0099-Change-the-get_platform-method-in-sysconfig-and-dist.patch

* Mingw: Do not dllexport exceptions

This is a fix for errors like:

D:/a/pybind11/pybind11/include/pybind11/detail/common.h:735:23: error: 'dllexport' implies default visibility, but 'class pybind11::builtin_exception' has already been declared with a different visibility
  735 | class PYBIND11_EXPORT builtin_exception : public std::runtime_error {
      |                       ^~~~~~~~~~~~~~~~~

* GHA: Test Mingw64 build

* fix: avoid thin binaries on mingw

* fix: drop lto on MinGW

* Mingw64: disable PYBIND11_DEPRECATED

It trigger many warnings for unknown reasons

Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
2021-07-30 13:48:41 -04:00
..
__init__.py feat: setup.py redesign and helpers (#2433) 2020-09-16 17:13:41 -04:00
__main__.py feat: typing support for helpers (#2588) 2020-10-14 14:08:41 -04:00
_version.py chore: post-release (#3128) 2021-07-17 11:50:42 -04:00
_version.pyi feat: typing support for helpers (#2588) 2020-10-14 14:08:41 -04:00
commands.py feat: typing support for helpers (#2588) 2020-10-14 14:08:41 -04:00
py.typed feat: typing support for helpers (#2588) 2020-10-14 14:08:41 -04:00
setup_helpers.py fix: Mingw64 corrected and add a CI job to test it (#3132) 2021-07-30 13:48:41 -04:00
setup_helpers.pyi Add helper to build in-tree extensions. (#2831) 2021-07-13 17:21:55 -04:00