hhvm / homebrew-hhvm

Official Mac OS X Homebrew formula for HHVM
MIT License
81 stars 22 forks source link

Add homebrew bottle #5

Closed mcuelenaere closed 7 years ago

mcuelenaere commented 9 years ago

Just building the LLVM build dependency takes age and that is even without building HHVM itself.

Having pre-build binaries would save users a lot of time.

jwatzman commented 9 years ago

Yep, that's the long-term plan. Haven't done it yet because

  1. Still making sure the formula works for people.
  2. The hardware I have is a fairly new Mac Pro, and I think some of the binaries would get optimized for it and use instructions that wouldn't work on older hardware.

I'll look into it in a few weeks when things settle down.

CremboC commented 9 years ago

@jwatzman Any update on this? I'm sure a few weeks have passed :)

jwatzman commented 9 years ago

I've been busy with PHP7 support in HHVM. I want to spend a bunch more time before the holidays to further improve the Mac port, but we'll see what comes up before then. This is fairly high on the list of improvements :)

iby commented 8 years ago

:+1: BOTTLE!!! :beers:

erikkaplun commented 8 years ago

+1

tholu commented 8 years ago

+1

RaeesBhatti commented 8 years ago

Bump....

jwatzman commented 8 years ago

I don't expect to get to this anytime soon, sorry.

zhangzijun commented 8 years ago

how can i install hhvm(version 3.4) in macbookpro ( 15.4)?

jwatzman commented 8 years ago

@zhangzijun install homebrew, then follow the directions at https://github.com/hhvm/homebrew-hhvm/blob/master/README.md

If you have any problems please open a new issue, instead of posting on an old, random one.

RaeesBhatti commented 8 years ago

@zhangzijun The first formula in this repo was for HHVM 3.9. You will have to create a formula by your self to install a version that old. But you can browse the commits to explore previous formulas and then click "Browse the history at this point in time" button to browse those files. And then you can do a brew install <link to hhvm.rb raw file in that commit>

jwatzman commented 8 years ago

Oh I missed the 3.4 part. Do not install HHVM 3.4, on OS X or Linux or anywhere. It's more than a year out of support, and there are critical bugfixes that it didn't get.

fredemmott commented 7 years ago

Actually building a bottle looks pretty straightforward: http://docs.brew.sh/Bottles.html - could probalby store them on either dl.hhvm.com with the other stuff, or the bintray open source plan like homebrew's own bottles do.

fredemmott commented 7 years ago

cc @mofarrell

mofarrell commented 7 years ago

cc @aorenste. I believe we are imaging a machine for this purpose, and can hopefully start publishing a bottle soon.

aorenste commented 7 years ago

Agreed - Once we have the debian and ubuntu builds back in shape and automated then a homebrew bottle is next.

fredemmott commented 7 years ago

I'll hopefully be looking at this in the next few months when I'm working on HHVM again; it avoids the "our dependencies updated and are no longer compatible" problems that keep on coming up between releases, eg #92, #87

fredemmott commented 7 years ago

As well as convenience, there's hard-to-debug build environment issues; e.g. if I run low on memory (I "only" had ~ 8gb free because of docker going crazy), I get this at unpredictable points in the build:

/bin/sh: /bin/sh: cannot execute binary file
muglug commented 7 years ago

Thanks!

fredemmott commented 7 years ago

Also just added Sierra for 3.22 :)

chrisbobbe commented 7 years ago

It looks like this issue has been resolved -- does this page need updating? https://docs.hhvm.com/hhvm/installation/mac Thanks!