Add parallel compilation to php distribtest (#25828)

* Add -j4 to php distribtest

* Pass -j instead
pull/25835/head
Stanley Cheung 4 years ago committed by GitHub
parent 52fc87b686
commit 732f3a02b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/distrib/php/run_distrib_test.sh
  2. 2
      test/distrib/php/run_distrib_test_macos.sh

@ -20,6 +20,6 @@ cd "$(dirname "$0")"
cp -r "$EXTERNAL_GIT_ROOT"/input_artifacts/grpc-*.tgz .
find . -regex ".*/grpc-[0-9].*.tgz" | cut -b3- | \
xargs pecl install
MAKEFLAGS=-j xargs pecl install
php -d extension=grpc.so -d max_execution_time=300 distribtest.php

@ -20,6 +20,6 @@ cd "$(dirname "$0")"
cp -r "$EXTERNAL_GIT_ROOT"/input_artifacts/grpc-*.tgz .
find . -regex ".*/grpc-[0-9].*.tgz" | cut -b3- | \
xargs sudo pecl install
xargs sudo MAKEFLAGS=-j pecl install
php -d extension=grpc.so -d max_execution_time=300 distribtest.php

Loading…
Cancel
Save