Opencensus now supports PHP 8.0

pull/345/head
Michele Locati 2021-06-10 08:16:58 +02:00
parent 6ea57d935c
commit 791108ff72
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
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 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 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 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 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 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 pcov 7.0 7.1 7.2 7.3 7.4 8.0

View File

@ -1811,24 +1811,9 @@ installRemoteModule() {
fi fi
;; ;;
opencensus) opencensus)
if test $PHP_MAJMIN_VERSION -le 702; then
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then
installRemoteModule_version=alpha installRemoteModule_version=alpha
fi 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) parallel)
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then