Comments (9)
A prerequisite to this would likely be changes to the HHVM cmake configuration so that we don't need the huge list of HHVM-only dependencies.
from homebrew-hhvm.
The hack section of the cmake build searches for its dependencies separately from HHVM.
from homebrew-hhvm.
Yes, but there is no mechanism to configure one without the other AFAIK, it's all tangled together. Or does CMake have some magic?
from homebrew-hhvm.
Adding SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../CMake" ${CMAKE_MODULE_PATH})
before the find_package
calls in hphp/hack/CMakeLists.txt
and then just calling cmake .
from hphp/hack/
should work just fine.
from homebrew-hhvm.
Ideally it would be better to move the IF(HPHP_HOME)
check out of the loop and use that as the base path for finding /CMake
, but it's not required.
from homebrew-hhvm.
Ah, cool.
@raeesiqbal this isn't something I'm likely to have time to work on myself, but I'd be happy to review a PR to do it. (You'll need to update the CMake scripts in HHVM itself as above, then submit a change to the brew formula to take advantage of it.)
from homebrew-hhvm.
I'm not familiar with Ruby and HomeBrew formulas, so, I tried a lot of things but could not make cmake
inside the hphp/hack
directory work.
We can't just cmake
HHVM first and then Hack because that will require a lot of packages to be present that Hack doesn't need. Here are my finding:
- Hack requires
lz4
,libelf
,ocaml
to work, so, we can create a HomeBrew optionwith-hack-only
and do aif not build.with? "hack-only"
check on things which are not required by Hack. - We can actually build Hack utilities on Mac using
configure
,cmake .
andmake
in hphp/hack directory when you have the dependecies installed.
from homebrew-hhvm.
That referenced commit means this is now supported by hhvm itself, just not by brew. Would also like this so that when the hhvm build is broken by folly/clang/apple can hopefully keep using nuclide with local hh_client
from homebrew-hhvm.
For now, I'm wontfixing this, as we should have bottles up very shortly (#5)
from homebrew-hhvm.
Related Issues (20)
- nightlies broken by implicit dependency on low-ptr-def.h
- segfaults with latest PCRE
- brew updated boost, new version gives linker errors. Rebuild needed
- HHVM 3.24 removed HOT 4
- HHVM 4.4 is not in formula directory
- (postgres) configure: error: header file <perl.h> is required for Perl HOT 1
- Broken Night Build: Merge Conflict
- [REQ] Fresh bottle for [email protected] HOT 4
- Drop support for MacOS High Sierra, add support for MacOS Catalina HOT 1
- Detect when rebuilds are needed
- Builds broken by MacOS SDK update HOT 4
- Brew upgrade leads to confusing hhvm state HOT 4
- Can not find libelf/libdwarf when attempting to install into a custom prefix HOT 7
- HHVM Compile Fail: imagemagick/gd? HOT 1
- failed to install hhvm 4.110 on Mojave HOT 3
- dyld: Symbol not found while installing 3.27-lts on 10.14.6 HOT 3
- Unable to install hhvm using brew install command on ubuntu v22 HOT 2
- Can not find LibNuma when attempting to install into a custom prefix HOT 1
- Install Build Errors on MacOSX12 M1 chip HOT 2
- Error when install hack HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-hhvm.