grain icon indicating copy to clipboard operation
grain copied to clipboard

Provide aarch64 binaries

Open xunfeng1980 opened this issue 2 years ago • 5 comments

xunfeng1980 avatar Feb 17 '23 14:02 xunfeng1980

Grain does support m1

spotandjake avatar Feb 17 '23 14:02 spotandjake

When building Grain from source, everything works great on aarch64 Mac computers. We also supply aarch64 Linux docker images: https://github.com/grain-lang/grain/pkgs/container/grain/71393126?tag=main

No CI service provides aarch64 Mac runners and the pkg tool doesn't allow x86 -> aarch64 cross-compiles, so we don't have the ability to build binaries for it.

I'll change your title to "Provide aarch64 binaries" so it is accurately tracking what doesn't currently exist.

phated avatar Feb 17 '23 22:02 phated

Would it be possible to have the Homebrew cask build it from source on ARM instead of defaulting to just downloading the prebuilt x64 binary?

adsouza avatar Jan 08 '24 01:01 adsouza

@adsouza no, the build tools aren't easily available via brew.

phated avatar Jan 08 '24 02:01 phated

@phated Things have changed and the macos-14, macos-14-xlarge, macos-13-xlarge and macos-latest-xlarge runners are now available for arm64. The first one is available for everyone regardless of any GitHub plan.

Phault avatar Mar 31 '24 11:03 Phault