1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-26 20:34:40 +01:00
parallel/travis/install-pthreads.sh

13 lines
276 B
Bash
Raw Normal View History

2020-02-11 23:52:07 +01:00
#!/usr/bin/env bash
git clone https://github.com/krakjoe/pthreads;
pushd pthreads;
git checkout master;
phpize;
./configure;
make;
make install;
popd;
cp "$(php -r 'echo php_ini_loaded_file();')" /tmp
echo "extension=pthreads.so" >> "$(php -r 'echo php_ini_loaded_file();')"