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

Fix build pipelin to run on MacOS m1 architecture and/or BigSur #2

Open
Czaki opened this issue May 28, 2021 · 9 comments
Open

Fix build pipelin to run on MacOS m1 architecture and/or BigSur #2

Czaki opened this issue May 28, 2021 · 9 comments

Comments

@Czaki
Copy link
Owner

Czaki commented May 28, 2021

The current build pipeline seems to fail on MacOs m1 with BigSur on building dav1d library.
Until CI providers have images with MacOs 10.15 there is no problem because of backward compatibility but the pipeline should be prepared to run on 11.* images.

So looking for volunteers who could:

  1. test build pipeline on MacOS 11.* on architecture x86_64 (I read that BigSur introduces some changes in shared libraries)
  2. help with fixing build pipeline for macOS M1 (arm) architecture.

After solving this it will be possible to provide python 3.9 wheels for macOS ARM and be prepared for python 3.10.

@tasansal
Copy link

tasansal commented Jan 16, 2022

I have an M1 Max chip MBP.

What can I do to help with item 2?

@tomvars
Copy link

tomvars commented Aug 30, 2022

Would also love a wheel for MacOS ARM 🙏

@alanwilter
Copy link

Any news?

@alanwilter
Copy link

There's a pre-release for Azure pipeline that contains macOS Arm64.
https://github.com/microsoft/azure-pipelines-agent/releases/tag/v3.214.0
Could it be what we were waiting for?

@Czaki
Copy link
Owner Author

Czaki commented Jan 1, 2023

Partially Yes. But it also depends if there will be free runners for Open source projects.

At this moment, one of problems is that I do not have access to macOS m1 machine.

There is currently one CI provider that provides macOS ARM runners. My current plan is to modernize the building process and try to setup workflow on macos arm CI, it the test passes then we will be happy. If not, then may be a problem.

@alanwilter
Copy link

If we could only use our local macs... I understand the CI steps, including tests are critical but, I mean, I tried to compiled imagecodecs on my mac m1 myself, using homebrew mostly but it failed.
My point is, if we could use community computers to create the wheels and then give them back to, say, pypi... Or am I just dreaming aloud?

@Czaki
Copy link
Owner Author

Czaki commented Jan 2, 2023

It is not needed. Apple supports cross-compiling. There are also other options for building wheels. The core problem is access to the device for debugging the build process when it fails.

@cgohlke
Copy link
Contributor

cgohlke commented Apr 23, 2023

The imagecodecs 2023.3.16 release includes macosx_arm64 wheels.

@alanwilter
Copy link

Thank you so much! It's now working for me on my mac. We can close this ticket.

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

5 participants