1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-27 04:44:56 +01:00
parallel/travis/install-pthreads.sh
Aaron Piotrowski f0a034e871 Fix permissions
Ugh… can't believe I did this here too…
2017-05-18 17:21:52 -05:00

12 lines
242 B
Bash
Executable File

#!/usr/bin/env bash
git clone https://github.com/krakjoe/pthreads;
pushd pthreads;
git checkout $(git describe --tags);
phpize;
./configure;
make;
make install;
popd;
echo "extension=pthreads.so" >> "$(php -r 'echo php_ini_loaded_file();')"