#Apple/Homebrew zig --HEAD updates [solved]

1 messages · Page 1 of 1 (latest)

humble hamlet
#

I have been using homebrew install zig --HEAD to have a reasonably up to date zig install on my mac

Hovever, there seems to be quite a lag between homebrew's concept of 'latest master' and actual latest master.

As of today, zig latest is 1862, and homebrew --HEAD is 0.11.0-dev.1568+c9b957c93

Just wondering if :

  • Homebrew is only updated every now and then - be patient !
  • Maybe Homebrew zig updates are stuck, due to some dependency changes or whatever - like LLVM maybe ?

So Im wondering if its worth me sticking with homebrew installs for now, or manually manage zig-latest myself.
What are other people doing ?

thx

soft latch
#

Weird. When I run this I get the latest commit. I just tried it and the latest commit was 5 hours ago, and that's the one I'm getting. I usually do brew uninstall zig first - I don't know whether that makes a difference.

humble hamlet
#

Thanks - that does make a difference.

I uninstalled, then brew install zig --HEAD again ... which does pull git latest and rebuilds from source.
Its now on the latest version - yay

Prior to that I was doing brew upgrade zig which was attempting to "upgrade" the current installed version - hence no change.
TIL !

#

and lol - Im doing the brew build-from-src on both my M2 mini, and i7 mbp, and i3 mba all at the same time. Dammit if the M2 isnt a quantum leap over the "old" intel boxes 🙂

#

Apple/Homebrew zig --HEAD updates [solved]

cyan lance
#

brew only auto updates on version change