It is possible to run HHVM on Power already, and take the advantages of HHVM’s JIT when interpreting PHP.
HHVM has two running mode:
- Interpreted mode, using parameter
hhvm.jit = false
- JIT mode, using code generator.
The interpreted path is already integrated into HHVM source code, and compiling it on a Power machine will provide you a binary that is able to run HHVM in interpreted mode.
On the other hand, in order to enable JIT, you should get the source code from our private branch. The patches are still flowing to the original HHVM repository.
The instructions on how to compile HHVM could be found at our wiki page