-
Notifications
You must be signed in to change notification settings - Fork 159
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
bug: arm64 binaries are not available on PyPI #340
Comments
SGTM, it should be easy since we use |
/assign I can help improve the CI, but I cannot test if it works since I do not have a machine for it. |
How can I help test if I have a machine in arm64? |
Thanks! could you please run the commands to build and test if the build works on ARM64 macOS: make
./bin/envd bootstrap
./bin/envd up -p ./pkg/app/testdata/build-test |
We can add ci with arm by qemu https://github.com/docker/setup-qemu-action. Although I head the performance is very bad |
Here is the
|
Thanks! Then it should work! @all-contributors please add @popfido for platform |
I've put up a pull request to add @popfido! 🎉 |
I am not sure how to add M1 build in our CI and CD process. Here are some references: |
m1 macbook pro failed to run mnist cpu version example
|
cc @VoVAllen |
Gotcha, let me test if it works on Linux arm64 first. Then let's see why it fails on macOS arm64. |
after update docker for mac and brew install gcc. work fine |
It is weird. I cannot figure out why it requires GCC. BTW, what's your previous docker version? |
docker version: v4.9.0, maybe not GCC, I try again without GCC |
BTW, how to clear cache |
@kenwoodjw Do you mean buildkit cache or envd's cache (for oh-my-zsh and vscode extensions) |
pip cache is buildkit cache ? |
Yep. You can |
Ya, without GCC also work fine! |
Then it is related to the docker version. It is reasonable although I do not know why hhh |
It should be fine. We've been using it in argo-workflows. |
How about this https://veertu.com/? Originally posted by @aseaday in #414 (comment) |
GitHub supports M1 now (in beta) Let's give it a try. |
https://dev.to/thewraven/universal-macos-binaries-with-go-1-16-3mm3 I am creating a universal bin for the build. |
https://github.com/gaocegege/envd/actions/runs/3562709880/jobs/5984732217 It works! Let's summarize the change in my personal fork and submit a PR here. |
I am publishing v0.2.5-rc.1, which should supports arm64 in macOS. |
Currently, we only distribute amd64 on PyPI for both Mac and Linux but not arm64.
We should support arm64, especially for Apple M1 users.
The text was updated successfully, but these errors were encountered: