Blacksmoke16 / oq

A performant, and portable jq wrapper to facilitate the consumption and output of formats other than JSON; using jq filters to transform the data.
https://blacksmoke16.github.io/oq/
MIT License
190 stars 15 forks source link

possible to build oq for arm64 (AppleSilicon/M1) #96

Closed luckman212 closed 2 years ago

luckman212 commented 3 years ago

I love oq and have grown to really depend on it for a few of my automations. When I got my new M1 Mac, I was sad to see it wan't available in Homebrew. Peeking under the hood, seems that this is because of a dependency on crystal-lang, which doesn't yet have a release for arm64.

Is this correct? I hope once crystal is released (tracking progress here) that oq may become buildable on macOS M1?

Blacksmoke16 commented 3 years ago

Yea, my understanding is that once Crystal itself is installable via brew on M1, then it would be possible for brew to build a bottle for it. At which point, might just need to bump the revision on it to trigger that build. I been keeping an eye on it and will be sure to follow up when I know more.

luckman212 commented 3 years ago

That's excellent. Thanks for the info, and thanks for this awesome tool 🚀

Blacksmoke16 commented 2 years ago

@luckman212 There's an M1 bottle for oq now as of https://github.com/Homebrew/homebrew-core/commit/5e8eaa529e036b33ddfb2faf84403280ec01cd12!

luckman212 commented 2 years ago

@Blacksmoke16 nice surprise! I just installed it, so far it's working great! Thank you so much for the heads up