Merge pull request #345 from mlocati/opencensus-php8.0

Opencensus now supports PHP 8.0
This commit is contained in:
Michele Locati 2021-06-10 08:22:33 +02:00 committed by GitHub
commit 9762aa8f41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 18 deletions

View File

@ -50,7 +50,7 @@ oauth 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
oci8 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
odbc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
opcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
opencensus 7.0 7.1 7.2 7.3 7.4
opencensus 7.0 7.1 7.2 7.3 7.4 8.0
parallel 7.1 7.2 7.3 7.4
pcntl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
pcov 7.0 7.1 7.2 7.3 7.4 8.0

View File

@ -1811,24 +1811,9 @@ installRemoteModule() {
fi
;;
opencensus)
if test $PHP_MAJMIN_VERSION -le 702; then
if test -z "$installRemoteModule_version"; then
installRemoteModule_version=alpha
fi
else
installRemoteModule_manuallyInstalled=1
if test -z "$installRemoteModule_version"; then
installRemoteModule_src="$(getPackageSource https://pecl.php.net/get/opencensus)"
else
installRemoteModule_src="$(getPackageSource https://pecl.php.net/get/opencensus-$installRemoteModule_version)"
fi
cd "$installRemoteModule_src"/opencensus-*
find . -name '*.c' -type f -exec sed -i 's/\bZVAL_DESTRUCTOR\b/zval_dtor/g' {} +
phpize
./configure
make install
cd - >/dev/null
fi
;;
parallel)
if test -z "$installRemoteModule_version"; then