fortify / fcli

fcli is a command-line utility for interacting with various Fortify products
https://fortify.github.io/fcli/
Other
32 stars 22 forks source link

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

Closed MikeTheSnowman closed 1 month ago

MikeTheSnowman commented 2 months ago

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

Future discussions

MikeTheSnowman commented 1 month ago

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.