pybind11/.github
Jerome Robert c80e059345 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:58:16 -04:00
..
ISSUE_TEMPLATE docs: contrib/issue templates (#2377) 2020-08-17 10:14:23 -04:00
workflows fix: Mingw64 corrected and add a CI job to test it (#3132) 2021-07-30 13:58:16 -04:00
CODEOWNERS chore: add nox support (#3101) 2021-07-12 17:45:40 -04:00
CONTRIBUTING.md chore: add nox support (#3101) 2021-07-12 17:45:40 -04:00
dependabot.yml docs: better badges (#2656) 2020-11-15 12:23:33 -05:00
labeler_merged.yml ci: original labeler 2020-10-12 22:35:23 -04:00
labeler.yml ci: original labeler 2020-10-12 22:35:23 -04:00
pull_request_template.md docs: mention that the changelog block in PR is special 2021-01-19 22:47:40 -05:00