emacs-tree-sitter / tree-sitter-langs

Language bundle for Emacs's tree-sitter package
https://emacs-tree-sitter.github.io/languages/
MIT License
254 stars 131 forks source link

linux/arm64/v8 #654

Open wwarner opened 2 months ago

wwarner commented 2 months ago

Hi, I run emacs in a container, sometimes on amd hardware, but most often on an M1 mac. I currently use bespoke code to build langs for the linux/arm64/v8 target. I'd like to upgrade to tree-sitter-langs, which downloads from github releases, but none of the binaries there match my target arch. I've dabbled in building tree-sitter-langs on my system, but failed miserably. Any advice on how to approach building this myself? Or -- is there any chance that the regular builds will ever include binaries for linux on arm?

drelbszoomer commented 1 month ago

Same - also running Asahi Linux on a Arm64 mac and hitting this.

I can do a PR to add this to the CI via arm64 GH runners, if needed.