Skip to content

Building wheels for Py 2.7, 3.5, 3.6, 3.7 with C++11 compiler #251

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

Closed
jtrmal opened this issue Jan 23, 2020 · 5 comments
Closed

Building wheels for Py 2.7, 3.5, 3.6, 3.7 with C++11 compiler #251

jtrmal opened this issue Jan 23, 2020 · 5 comments

Comments

@jtrmal
Copy link

jtrmal commented Jan 23, 2020

Hi, I have created setup that builds wheels for this project: https://github.com/sequitur-g2p/sequitur-g2p.
The issue is that the project uses heavily C++11, so my understanding is that I cannot build the wheels for the aforementioned packages (or at least it failed because of non-existing headers introduced in C++11). Is there a way around it? Thanks for your time -- I tried to go through docs and PRs and it seems it should be possible in the future but not at this time. Is that right or is there a possibility how to do it?

@YannickJadoul
Copy link
Member

@jtrmal There's a long-standing PR that should soon get merged and includes some docs on what's possible here: https://github.com/joerick/cibuildwheel/pull/156/files#diff-696b5e631bcfe233e0e5247a751eb20f

In general, it is quite possible to do so; I'm building wheels with C++17 using cibuildwheel in my Parselmouth projects. There are a few caveats:

@jtrmal
Copy link
Author

jtrmal commented Jan 23, 2020 via email

@YannickJadoul
Copy link
Member

Don't take it as the only way to do things, though; there might still be problems. I've just done my best to get something working, and haven't had too many complaints of things not working in practice, yet.

@jtrmal
Copy link
Author

jtrmal commented Jan 23, 2020 via email

@jtrmal
Copy link
Author

jtrmal commented Jan 25, 2020

I'm marking it as resolved, as I was able to succeed. Thanks for the assistance!

@jtrmal jtrmal closed this as completed Jan 25, 2020
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

2 participants