mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-11-26 09:06:44 +07:00
Sunset support for Ubuntu 16.04
This commit is contained in:
@ -38,11 +38,7 @@ add_grpc_php_plugin_compile() {
|
||||
(
|
||||
cd "/tmp/grpc-${grpc_tag:1}" || exit
|
||||
add_bazel
|
||||
if [ "$DISTRIB_RELEASE" = "16.04" ]; then
|
||||
CC="$(command -v gcc)" CXX="$(command -v g++)" ./tools/bazel build src/compiler:grpc_php_plugin
|
||||
else
|
||||
./tools/bazel build src/compiler:grpc_php_plugin
|
||||
fi
|
||||
./tools/bazel build src/compiler:grpc_php_plugin
|
||||
sudo mv ./bazel-bin/src/compiler/grpc_php_plugin /usr/local/bin/grpc_php_plugin
|
||||
sudo chmod a+x /usr/local/bin/grpc_php_plugin
|
||||
license_path="/tmp/grpc-${grpc_tag:1}/LICENSE"
|
||||
|
||||
Reference in New Issue
Block a user