Merge pull request #17121 from jtattermusch/speedup_interop_builds

Speedup interop builds (PHP and C++)
pull/17133/head
Jan Tattermusch 6 years ago committed by GitHub
commit 35e1f9fa6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      tools/dockerfile/interoptest/grpc_interop_cxx/build_interop.sh
  2. 9
      tools/dockerfile/interoptest/grpc_interop_php/build_interop.sh
  3. 9
      tools/dockerfile/interoptest/grpc_interop_php7/build_interop.sh

@ -28,10 +28,10 @@ cp -r /var/local/jenkins/service_account $HOME || true
cd /var/local/git/grpc
make install-certs
make install-certs -j4
# build C++ interop client & server
make interop_client interop_server -j2
make interop_client interop_server -j4
# build C++ http2 client
make http2_client
make http2_client -j4

@ -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)

@ -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)

Loading…
Cancel
Save