aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/build_php.sh
blob: 0a8d0c74923868318403d225be06b5cbf56fbf4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

set -ex

CONFIG=${CONFIG:-opt}

# change to grpc repo root
cd $(dirname $0)/../..

root=`pwd`
export GRPC_LIB_SUBDIR=libs/$CONFIG

# build php
cd src/php

cd ext/grpc
phpize
./configure --enable-grpc=$root
make