coin-or / CyLP

A Python interface to CLP, CBC, and CGL to solve LPs and MIPs.
Other
182 stars 69 forks source link

Update cibuildwheel to 2.17.0, build macos-arm64 wheel on native runners #195

Closed mkoeppe closed 8 months ago

mkoeppe commented 8 months ago

@tkralphs This is a possible full solution for #193.

Since early this year, GitHub actually has macOS M1 runners, so we can build the arm64 wheels there

tkralphs commented 8 months ago

Indeed, I was able to install these wheels on my M1-based Mac!

mkoeppe commented 8 months ago

Thanks for testing!

tkralphs commented 8 months ago

Actually, do we want to specify macos-13, rather than macos-latest to make sure we get intel-based wheels, too? According to the cibuildwheel documentation, macos-14 (and presumably later/latest) are all arm64, whereas macos-13 are all x86_64.

mkoeppe commented 8 months ago

Note currently macos-latest is macos-12 per https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

tkralphs commented 8 months ago

Hmm, that's a different definition of "latest" than I would expect, but in any case, I would think "latest" will eventually mean "Apple Silicon," somewhere down the road.