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

Add a local-build.sh script to build Apple Silicon wheels locally #18

Merged
merged 1 commit into from
Dec 31, 2023

Conversation

jeremiahrose
Copy link
Contributor

@jeremiahrose jeremiahrose commented Dec 24, 2023

Since there are no free Apple Silicon runners available for GitHub actions, a simple solution is to just run the build locally on an Apple Silicon Macbook.

To that end, this PR adds a local-build.sh script that builds for whatever architecture the local machine is running on. On an M1 Macbook Pro it should take approx 25 minutes to build for all 4 Python versions.

Then the wheels can be uploaded manually to the release, or we can develop a local-release.sh script to add the wheels to an existing release.

Copy link
Member

@jmwright jmwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @jeremiahrose

There are some changes I've got on the M1 branch to allow this script to be used on aarch64 Linux, and I'll incorporate those.

@jmwright jmwright merged commit dfa725c into CadQuery:main Dec 31, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants