-
Notifications
You must be signed in to change notification settings - Fork 267
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
feat: add ARM64 support #4947
feat: add ARM64 support #4947
Conversation
core/src/plugins/octant/octant.ts
Outdated
@@ -99,6 +99,7 @@ export const gardenPlugin = () => | |||
targetPath: "octant_0.15.0_macOS-64bit/octant", | |||
}, | |||
}, | |||
// this version has no arm support yet. If you add a later release, please add the "arm64" architecture. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just update this now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure I can do that, but do we still support octant
?
I thought we wanted to remove the dashboard but wasn't sure if that also applies to octant.
Also octant is no longer under active development and the repo has been archived.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I didn't realize that. In that case, just leave it. Let's mark the plugin as deprecated too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I gave it one last update to the last released version and marked it as deprecated.
Nice! ✨ Just had one very small comment, otherwise looks great. Thanks for taking this on 🙏 |
…ld is available and platform is arm
b400867
to
70dd605
Compare
What this PR does / why we need it:
This PR adds ARM64 support for MacOS and Linux.
Not all dependencies are supported yet - specifically for the jib plugin on Linux - but those that are have been added.
It also updates the install script to pick the correct architecture, and it updates the self-updater to update to the ARM version when available and pick the AMD64 version otherwise.
Homebrew still requires an update to the formula to pick based on the architecture, but I believe we can do that separately which will also be a bit easier once the builds already exist. The homebrew formula is updated by a github action which doesn't support two different binaries right now, so that needs changes as well.
I have tested the ARM build for MacOS on MacOS and the Linux one inside a VM.
Which issue(s) this PR fixes:
Resolves #1547
Special notes for your reviewer: