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

feat: add ARM64 support #4947

Merged
merged 16 commits into from
Aug 15, 2023
Merged

feat: add ARM64 support #4947

merged 16 commits into from
Aug 15, 2023

Conversation

TimBeyer
Copy link
Contributor

@TimBeyer TimBeyer commented Aug 15, 2023

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:

@TimBeyer TimBeyer marked this pull request as ready for review August 15, 2023 15:04
@@ -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.
Copy link
Collaborator

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?

Copy link
Contributor Author

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.

Copy link
Collaborator

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.

Copy link
Contributor Author

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.

@edvald
Copy link
Collaborator

edvald commented Aug 15, 2023

Nice! ✨ Just had one very small comment, otherwise looks great. Thanks for taking this on 🙏

edvald
edvald previously approved these changes Aug 15, 2023
edvald
edvald previously approved these changes Aug 15, 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.

[FEATURE]: ARM64 Support
2 participants