GithubHelp home page GithubHelp logo

php-hhvm's Introduction

HHVM - Build Status

A build script for building HHVM from source on Debian based linux distributions.

Travis is used as the Continuous Integration Platform, because they provide decent Ubuntu VMs.

The list of required packages (dependencies) to build HHVM is extensive, while at the same time the official build documentation is work in progress. Back, when i started this project, it was the first try of someone to build HHVM on a public build server.

Use pre-build binaries

You don't have to build HHVM from source. Travis-CI provides HHVM and a nightly build. So, if you simply want to use HHVM, maybe next to different PHP versions, then simply add the following to your .travis.yml: php: [5.4, 5.5, 5.6, hhvm, hhvm-nightly].

Status: It builds!

The rest is a script playground. Plese feel free, to extend, for instance, the examples section in the build script, to demonstrate how to use HHVM on the CLI for running and inspecting PHP scripts.

Quick Links

Notes on Build Failures

make -jN

  • I suggest to not use make -jN to build HHVM, because parallel jobs "tend to" make the build fail.
  • On the other hand, building HHVM might exceed the allowed runtime for a build job on Travis-CI, which is limited to 50 minutes.
  • To keep it under 50 minutes, we are building with "time ionice -c3 nice -n 19 make -j3".
  • A build finishes in approximately 37 minutes.
  • The result of "time" is (time: real 36m14.618s - user 67m9.428s - sys 4m22.474s).
  • The value "real" represents the actual elapsed time, while "user" and "sys" values represent CPU execution time.

php-hhvm's People

Contributors

jakoch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

php-hhvm's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.