X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=travis%2Fcompile-ext-raphf.sh;fp=travis%2Fcompile-ext-raphf.sh;h=2b2f0130ab022fa6eb19f5000b23df2b5167bdef;hb=e7ce3fd45d17058f92ce219a34e560226cf72231;hp=0000000000000000000000000000000000000000;hpb=4822c94ec2704ec8cdf95105485554cca05b2df3;p=m6w6%2Fext-pq diff --git a/travis/compile-ext-raphf.sh b/travis/compile-ext-raphf.sh new file mode 100755 index 0000000..2b2f013 --- /dev/null +++ b/travis/compile-ext-raphf.sh @@ -0,0 +1,13 @@ +#!/bin/sh -x + +set -e + +git clone --depth 1 https://github.com/php/pecl-php-raphf $HOME$BUILD_SRC_DIR/raphf +cd $HOME$BUILD_SRC_DIR/raphf + +$HOME$BUILD_INSTALL_DIR/bin/phpize +./configure --with-php-config=$HOME$BUILD_INSTALL_DIR/bin/php-config --enable-raphf + +make -j2 --quiet install + +echo 'extension=raphf.so' > $HOME$BUILD_INSTALL_DIR/conf.d/10-raphf.ini