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

MacOS Apple Silicon PyPi build #187

Closed
mehertz opened this issue Apr 3, 2023 · 4 comments
Closed

MacOS Apple Silicon PyPi build #187

mehertz opened this issue Apr 3, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@mehertz
Copy link
Collaborator

mehertz commented Apr 3, 2023

We have a MacOS x86 & Apple Silicon build for Conda. As a result there aren't any fundamental issues that will prevent the build. Note that this ticket corresponds to the Apple Silicon build - I don't believe MacOS x86 is worth targetting any more.

However, Conda and PyPi builds are distributed differently. The PyPi build is largely statically linked which will likely mean more work will need to be done to get a clean build for MacOS.

We'll also need to investigate the Apple Silicon runners available on GitHub.

@mehertz mehertz added the enhancement New feature or request label Apr 3, 2023
@mehertz mehertz assigned mehertz and unassigned mehertz Apr 28, 2023
@mehertz mehertz changed the title MacOS build MacOS PyPi build May 17, 2023
@mehertz mehertz changed the title MacOS PyPi build MacOS Apple Silicon PyPi build Jun 9, 2023
@mehertz
Copy link
Collaborator Author

mehertz commented Jun 9, 2023

@qc00 do you know of any build blockers for this?

@qc00
Copy link
Contributor

qc00 commented Jun 12, 2023

I have never tried, but some potential ones:

  • Dependencies missing/not fully patched in vcpkg
  • MacOS typically uses .dylib. I am not sure if we can distribute a .so in wheels.
  • Different handling for external lib dependencies (i.e. auditwheel -> delocate)
  • There's not enough GitHub Actions cache space to hold yet another OS's build

@jjerphan
Copy link
Collaborator

jjerphan commented Oct 2, 2023

Apple M1 macOS runners are now available on GitHub actions.

See actions/runner-images#8439

@poodlewars
Copy link
Collaborator

Duplicates #759

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

No branches or pull requests

4 participants