Yash-Handa/logo-ls

not clear what version should be used on M1 Mac

Buzzraider opened this issue ยท 5 comments

it's not clear what version of script should be used with M1 Macs.

Hi! I've tried the Intel build version (can be downloaded from releases) and it works just fine on the M1. Or if you want an arm64 native binary, you can build it yourself, but you'll need to have golang toolchain first

@ghifarit53 would generic arm64 builds work on Apple Silicon?
@Yash-Handa It would be useful to have binaries (and correct arm64 bottles for Homebrew)

@piejanssens I'm not sure what do you mean by generic builds, if you mean the one from the releases, I don't think so since they're targetted towards ARM version of Linux (by looking at the file extensions, .deb for Debian-based and .rpm for Red Hat-based Linux). To get one for ARM Mac, you can build it yourself (I successfully built mine here)
Screen Shot 2022-02-17 at 3 18 11 PM

I meant to ask if an arm64 for Linux is compatible with Darwin, but I now understand that these are in fact not compatible.
So if @Yash-Handa wants to support this in CI, we need separate linux-arm64 and darwin-arm64 builds.

Darwin arm64 logo-ls v1.3.7:
logo-ls.zip