diff options
author | Craig Tiller <ctiller@google.com> | 2015-01-16 12:54:26 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-01-16 12:55:42 -0800 |
commit | aac57fde95e19fc1c0062747aca748cc8e5e9980 (patch) | |
tree | a9c88b7abcf97675735988eb9615149ca7deb34d /tools | |
parent | f1973b0652bdc34451b4d1f84811763a786178f1 (diff) |
Build php modules from run_tests.py
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/build_php.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/run_tests/build_php.sh b/tools/run_tests/build_php.sh index a9bf588e2f..996ddce29b 100755 --- a/tools/run_tests/build_php.sh +++ b/tools/run_tests/build_php.sh @@ -1 +1,22 @@ #!/bin/bash + +set -ex + +# change to grpc repo root +cd $(dirname $0)/../.. + +export GRPC_DIR=`pwd` + +# make the libraries +make -j shared_c + +# build php +cd src/php + +cd ext/grpc +phpize +cd ../.. +ext/grpc/configure +#cd ext/grpc +make + |