HipHop for PHP
HipHop is a source code transformer which transforms PHP source code into highly optimized C++ and then compiles it using g++.
- cmake 2.6 is the minimum version
- g++/gcc 4.1 is the minimum version
- Boost 1.37 is the minimum version
- libicu 4.2 is the minimum version
- tbb Intel's Thread Building Blocks
The following packages have had slight modifications added to them, patches are provided and should be made against the current source copies.
- libevent 1.4
You may need to point CMake to the location of your custom libcurl and libevent or any other libraries which needed to be installed. The CMAKE_PREFIX_PATH variable is used to hint to the location.
To build HipHop use the following
git clone git://github.com/facebook/hiphop-php.git
git submodule init
git submodule update
Once this is done you can generate the build file and this will return you to the shell, finally to build run make, if any errors occur it may be required to remove the CMakeCache.txt directory in the checkout.