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

macOS binaries - x86_64 and arm64 (apple silicon) #606

Closed
MikeTheSnowman opened this issue Sep 24, 2024 · 1 comment
Closed

macOS binaries - x86_64 and arm64 (apple silicon) #606

MikeTheSnowman opened this issue Sep 24, 2024 · 1 comment
Labels
bug Something isn't working fcli-docs

Comments

@MikeTheSnowman
Copy link
Collaborator

MikeTheSnowman commented Sep 24, 2024

Current Behavior

This issue is simply being raised to create some kind of documentation around this issue.
Yesterday, it was discovered that starting with fcli v2.4.0, the native binaries for macOS were unexpectedly being compiled for arm64 (also refered to as either Apple Silicon or M1). Prior to v2.4.0, all our macOS binaries were being compiled for x86_64.

This issue occured because our GitHub workflow is currently configured to use the latest GitHub Hosted runner for macOS (macos-latest). At some point in the past few months, GitHub added a new GitHub hosted runner macos-14 (which used the apple M1 CPU). When that happened, the reference for macos-latest was then updated to point to macos-14. This had the unexpected result in having GraalVM compiling the macOS binaries for arm64 instead of x86-64.

Instructions for fcli users on macOS

  • For the mac users that happen to be using fcli on older Intel CPU macOS systems, (at the time of writing this issue) the latest version of fcli that will still work for you is version 2.3.0.
  • For mac users that are on Apple Silicon, you won't really be effected as the older x86_64 builds should work because of Rosetta, and the arm64 builds will just work natively.

Future discussions

  • For fcli builds, we'll probably need to re-evaluate how we name our release artifacts. For that topic, I'll open up another ticket.
  • Because Apple Silicon is the future, I'm not sure if it's worth it to try and produce x86_64 builds of fcli anymore. If there is a serious need, please let us know.
@MikeTheSnowman
Copy link
Collaborator Author

I'm closing this issue as #607 will eventually address this issue.
Also, after talking with @rsenden , I've updated the release notes for fcli v2.4 to explain that the macos binary starting from v2.4 will be compiled for apple silicon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fcli-docs
Projects
None yet
Development

No branches or pull requests

1 participant