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 native support for Apple Silicon #660

Merged
merged 1 commit into from
Nov 28, 2021

Conversation

misl6
Copy link
Member

@misl6 misl6 commented Nov 24, 2021

This PR does the following:

  • Removes the unnecessary hostlibffi that is incompatible with Apple Silicon.
  • Adds HostRecipe, which archs defaults to [platform.machine()].
  • Updates hostpython3 and python3 to 3.9.9
  • Fixes hostopenssl and hostpython3 recipes.
  • Updates hostopenssl and openssl versions.
  • Now the CI also runs on our self-hosted Apple Silicon M1 runner.
  • Now the CI step build_updated_recipes skips removed recipes (That clearly was leading to an error).

Fixes issues:

(Marked as WIP cause I need to test openssl on a real device, but I also need a run on the CI)

@misl6 misl6 force-pushed the feat/m1-native-support branch from c19811d to fd85221 Compare November 24, 2021 19:57
@misl6 misl6 changed the title [WIP] Add native support for Apple Silicon Add native support for Apple Silicon Nov 27, 2021
@misl6 misl6 force-pushed the feat/m1-native-support branch from 73e11e4 to 9e2c96c Compare November 27, 2021 10:21
@misl6 misl6 linked an issue Nov 27, 2021 that may be closed by this pull request
@misl6 misl6 requested a review from AndreMiras November 27, 2021 10:33
@misl6 misl6 mentioned this pull request Nov 27, 2021
@misl6 misl6 added this to the 1.3.0 milestone Nov 27, 2021
Copy link
Member

@AndreMiras AndreMiras left a comment

Choose a reason for hiding this comment

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

Pretty cool! Thanks a lot for the effort 💪
Our CI setup starts to look complex, but I'm not sure what we could do about it, plus it provides a lot of value the way it is

@misl6 misl6 merged commit d55db6b into kivy:master Nov 28, 2021
@misl6 misl6 mentioned this pull request Nov 28, 2021
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.

Unable to build on mac m1
2 participants