bat icon indicating copy to clipboard operation
bat copied to clipboard

Release binary for aarch64-apple-darwin

Open jpillora opened this issue 4 years ago • 5 comments

Awesome project :) Could you please release a binary for aarch64-apple-darwin (M1 Macs)?

I've compiled from source and that works well though would be handy to have a ready made binary for download

jpillora avatar Feb 24 '21 02:02 jpillora

I made a quick test and added the target to our CICD config. The build fails, so it is not trivial to add. Maybe someone can investigate more in depth why it failed.

The PR is here: https://github.com/sharkdp/bat/pull/1552

I think we can close that PR after a while since the code changes themselves are trivial, but I suggest we keep it open for a while longer to see if someone else perhaps finds some interest in analyzing the build failure.

Enselic avatar Feb 24 '21 06:02 Enselic

Awesome project :) Could you please release a binary for aarch64-apple-darwin (M1 Macs)?

I've compiled from source and that works well though would be handy to have a ready made binary for download

Could you share instructions please, how you can achieve normal work after compiling from source? My result after I've compiled from source (when I try for example "bat textfile.txt"):

Too few arguments - usage: bat chipname inputfilepath Type bat -h for usage

glebson1988 avatar May 07 '21 21:05 glebson1988

Looks like CI has been making progress: https://github.com/rust-lang/rust/issues/73908#issuecomment-1193260998

johnjelinek avatar Oct 27 '22 23:10 johnjelinek

Since this is open for 2 years now could we divide in 2 parts ?

a) have a release for each new version that can be compiled by hands untill there is a descent CI b) work on the CI if this is still an issue

once b) is completed we can get rid of a)

any thoughts ?

fredleger avatar Nov 19 '22 16:11 fredleger

aarch64 builders are available in beta now. The builders macos-13-xlarge and macos-latest-xlarge are M1 machines that can output aarch64 binaries. But the repository's billing settings does not allow initialization of the runner (I tried #2762). Could one of the maintainers take a look at enabling this option?

lanthoor avatar Nov 01 '23 06:11 lanthoor