Skip to content

Instantly share code, notes, and snippets.

@tigefabot
Created June 19, 2016 05:25
Show Gist options
  • Select an option

  • Save tigefabot/39cd2fc3f0e74bd68add2b37cf1d80fd to your computer and use it in GitHub Desktop.

Select an option

Save tigefabot/39cd2fc3f0e74bd68add2b37cf1d80fd to your computer and use it in GitHub Desktop.
hhvm
sudo apt-get install -y autoconf automake binutils-dev build-essential cmake g++ gawk git \
libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \
libboost-system-dev libboost-thread-dev libboost-context-dev libbz2-dev libc-client-dev libldap2-dev \
libc-client2007e-dev libcap-dev libcurl4-openssl-dev libdwarf-dev libelf-dev \
libexpat-dev libgd2-xpm-dev libgoogle-glog-dev libgoogle-perftools-dev libicu-dev \
libjemalloc-dev libmcrypt-dev libmemcached-dev libmysqlclient-dev libncurses-dev \
libonig-dev libpcre3-dev libreadline-dev libtbb-dev libtool libxml2-dev zlib1g-dev \
libevent-dev libmagickwand-dev libinotifytools0-dev libiconv-hook-dev libedit-dev \
libiberty-dev libxslt1-dev ocaml-native-compilers libsqlite3-dev libyaml-dev libgmp3-dev \
gperf libkrb5-dev libnotify-dev
git clone -b HHVM-3.14 --recursive https://github.com/facebook/hhvm.git
cd hhvm
git submodule update --init --recursive
cmake -DMYSQL_UNIX_SOCK_ADDR=/var/run/mysqld/mysqld.sock .
make -j 2
# sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment