aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-11-06 18:25:52 +0100
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-11-06 19:11:39 +0100
commita8d960bbd2c52a215d17fe092b695aaa165bff33 (patch)
tree56d8cd52251453923b1304179f348bd8aa79d1a8 /tools/dockerfile
parentf1df763d32d1a34ba6f02a1d09aabb9a2c04ae69 (diff)
speedup php7 interop build
Diffstat (limited to 'tools/dockerfile')
-rwxr-xr-xtools/dockerfile/interoptest/grpc_interop_php7/build_interop.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/dockerfile/interoptest/grpc_interop_php7/build_interop.sh b/tools/dockerfile/interoptest/grpc_interop_php7/build_interop.sh
index efa97530c8..248a8f680b 100755
--- a/tools/dockerfile/interoptest/grpc_interop_php7/build_interop.sh
+++ b/tools/dockerfile/interoptest/grpc_interop_php7/build_interop.sh
@@ -28,12 +28,13 @@ cp -r /var/local/jenkins/service_account $HOME || true
cd /var/local/git/grpc
-# gRPC core and protobuf need to be installed
-make install
+# Install gRPC C core and build codegen plugins
+make -j4 install_c plugins
-(cd src/php/ext/grpc && phpize && ./configure && make)
+(cd src/php/ext/grpc && phpize && ./configure && make -j4)
-(cd third_party/protobuf && make install)
+# Install protobuf (need access to protoc)
+(cd third_party/protobuf && make -j4 install)
(cd src/php && php -d extension=ext/grpc/modules/grpc.so /usr/local/bin/composer install)