1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-29 20:29:00 +01:00
parallel/Vagrantfile
2016-01-23 10:50:56 -06:00

18 lines
413 B
Ruby

Vagrant.configure(2) do |config|
config.vm.box = "rasmus/php7dev"
config.vm.provision "shell", inline: <<-SHELL
newphp 7 zts
# Install pthreads from master
git clone https://github.com/krakjoe/pthreads
cd pthreads
git checkout master
phpize
./configure
make
sudo make install
echo 'extension=pthreads.so' >> `php -i | grep php-cli.ini | awk '{print $5}'`
SHELL
end