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 darwin arm 64 to platforms (Apple silicon / M1) #1240

Closed
wants to merge 4 commits into from

Conversation

sergioisidoro
Copy link

Hey there,

This is a long shot because I'm still trying to understand the build process

I hope I got this right, that build-kite just uses Bazel with dynamic arguments picked up from the platforms.
But I'm not sure how this will work on build-kite, and if there needs to be some configuration to run this build in an ARM machine.

Thought of opening an PR instead of just opening an issue.

Have a great day.

@sergioisidoro
Copy link
Author

sergioisidoro commented Jun 17, 2021

protocolbuffers/protobuf#8557
This PR adds protobuff compatibility, but the binaries still are not uploaded. I think that was the idea:

so I attempt here to upload the same file used in the osx-x86_64 classifier for the osx-aarch_64 classifier.

Anyway, in this release we can see that Apple Silicon support was added.
https://github.com/protocolbuffers/protobuf/releases/tag/v3.17.3

So for now I'm just pointing to the x86_64 as a placeholder. (same as Clang build tools)

@dae
Copy link
Member

dae commented Jun 17, 2021

Unfortunately it'll likely be at least 4 months before we can take advantage of these changes, as Qt and PyQt do not currently provide binaries for arm64

@sergioisidoro
Copy link
Author

@dae Thank you for your prompt reply

Well, it might be less than 4 months. I was astonished by the amount of things already available for arm64. Things are moving at incredible speed.

And there seems to be promising progress in QT: https://bugreports.qt.io/browse/QTBUG-85279
It's already possible to build QT from source for arm64, and pyqt is already available for apple silicon with Homebrew.

If you know of anything I can do to help push this forward, let me know :)

@dae
Copy link
Member

dae commented Jun 17, 2021

Anki requires WebEngine, which won't be available until Oct: https://wiki.qt.io/Qt_6.2_Release

@dae dae added the deferred label Jun 24, 2021
@dae dae mentioned this pull request Jul 17, 2021
@mvanaltvorst
Copy link

It seems that all dependencies have been updated @dae, how can we help implement this? Would help a lot of Apple M1 users save battery power

@dae
Copy link
Member

dae commented Oct 30, 2021

An initial test build is now available.

https://forums.ankiweb.net/t/new-toolkit-and-packaging-test-round-2/14513

@dae dae closed this Oct 30, 2021
@dae dae removed the deferred label Oct 30, 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.

None yet

3 participants