Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows-latest MSVC compiler crashes #1875

Open
elalish opened this issue Jun 12, 2024 · 6 comments
Open

windows-latest MSVC compiler crashes #1875

elalish opened this issue Jun 12, 2024 · 6 comments

Comments

@elalish
Copy link

elalish commented Jun 12, 2024

Description

This Action worked fine for our last release a few months back on v2.16, but now fails 100% (only on Windows - still works fine on Linux and MacOS) on both v2.16 and v2.19. It's very helpfully giving us this:

Error: Command python D:\a\manifold\manifold/bindings/python/examples/run_all.py failed with code 3221225477. 

Build log

https://github.com/elalish/manifold/actions/runs/9487313229/job/26143641015

CI config

https://github.com/elalish/manifold/blob/fixPyPI2/.github/workflows/build_wheels.yml

@henryiii
Copy link
Contributor

Try windows-2019, just a hunch.

@henryiii
Copy link
Contributor

(GitHub updated to MSVC v144 about 5-7 days ago and I've seen some things falling. The windows-2019 images don't have the new MSVC)

@elalish
Copy link
Author

elalish commented Jun 12, 2024

Excellent, thank you - looks like that fixed it! I'll keep an eye on this issue to see when we can return to windows-latest.

@maxbachmann
Copy link
Contributor

@henryiii I would like my library to require only the C++ redistributable that ships alongside CPython. Currently I am using windows-latest as well, but this can lead to a newer C++ redistributable being required. This can lead to issues (e.g. the current upgrade leads to crashes in std::mutex). I can solve this by using windows-2019 or specifying _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR.

I think it would be useful if there was a feature in scikit-build/cibuildwheel which errors out when a compiler is used that would lead to a different C++ redistributable being required.

@henryiii
Copy link
Contributor

henryiii commented Sep 3, 2024

I believe this would be a feature request for devlewheel. (and you'd need to specify devlewheel manually still, we don't do it automatically yet, it' just a recommendation).

@joerick
Copy link
Contributor

joerick commented Sep 3, 2024

for reference: delvewheel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants