sd icon indicating copy to clipboard operation
sd copied to clipboard

builds artifacts for linux arm64

Open tcurdt opened this issue 2 years ago • 1 comments

It would be great to also have linux arm64 binaries for releases.

tcurdt avatar Apr 10 '22 17:04 tcurdt

I've ended up adopting sd quite heavily inside https://github.com/bevry/dorothy - a cross-platform dotfile ecosystem - and noticed that on arm devices (such as my raspberry pis) it needs to download rust to compile itself, which is unfortunate, as it means installing Dorothy needs to install rust.

Out of other rust packages that Dorothy provides installers for, I've noticed:

  • has arm64 builds among usual
    • https://github.com/sharkdp/bat
    • https://github.com/dandavison/delta
    • https://github.com/bootandy/dust
    • https://github.com/sharkdp/fd
    • https://github.com/sharkdp/hyperfine
    • https://github.com/XAMPPRocky/tokei
  • has arm64 and apple silicon builds among usual
    • https://github.com/ajeetdsouza/zoxide

Perhaps the necessary build tooling could be pulled from them?

balupton avatar Apr 27 '22 07:04 balupton

Microsoft has a cross-platform builder for ripgrep, maybe that will be helpful:

https://github.com/microsoft/ripgrep-prebuilt

balupton avatar Sep 27 '22 08:09 balupton

I cut a release on my fork to support this, as I needed this for support on Graviton instances: https://github.com/yhakbar/sd/releases/tag/v0.7.7-yhakbar

Hopefully, once https://github.com/chmln/sd/pull/179 is merged in, we can fetch this from a release on this repo.

yhakbar avatar Apr 14 '23 15:04 yhakbar

I'm guessing the release of this is pending on https://github.com/chmln/sd/issues/200

balupton avatar Aug 18 '23 06:08 balupton

I'm guessing the release of this is pending on #200

More or less yes. There are a couple of things that I want to get cleaned up before the next release, and the next release will fix this issue

I'm very pressed for time currently and probably will be for the next month or so. PRs are welcome of course

CosmicHorrorDev avatar Aug 18 '23 13:08 CosmicHorrorDev

I'm guessing the release of this is pending on #200

More or less yes. There are a couple of things that I want to get cleaned up before the next release, and the next release will fix this issue

I'm very pressed for time currently and probably will be for the next month or so. PRs are welcome of course

Take your time @CosmicHorrorDev !

Not to rush you or anything, but do you have things that you need PRs for before the next release? Happy to chip in if I can help.

I think you mentioned that you needed some more CI work done. I can take a look at that if there's a relevant issue blocking the release.

yhakbar avatar Aug 18 '23 13:08 yhakbar

I can throw together a tracking issue later today. Any help would be greatly appreciated 🙏

CosmicHorrorDev avatar Aug 18 '23 13:08 CosmicHorrorDev

@yhakbar I threw together a tracking issue in #203 if anything in there looks of interest to you. Overall there are only a few different things I want handled before things are set for a new release

CosmicHorrorDev avatar Aug 19 '23 17:08 CosmicHorrorDev

Is this considered blocking for the release @CosmicHorrorDev ? I think the work to get aarch64-unknown-linux-musl targets built during the release is already merged in and present on main. If not, then I guess we'll close it after the next release.

yhakbar avatar Aug 19 '23 19:08 yhakbar

I believe you're right that the work for this is already merged. I'll go ahead and close this since the next release should be very soon

CosmicHorrorDev avatar Aug 19 '23 19:08 CosmicHorrorDev