Merge pull request #365 from mlocati/amqp-beta

AMQP with PHP 8: use the latest beta version instead of a specific commit
pull/366/head
Michele Locati 2021-07-01 08:38:15 +02:00 committed by GitHub
commit e709863971
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 13 deletions

View File

@ -22,8 +22,8 @@ Once that draft release has been created, you have to:
### amqp ### amqp
For PHP 8+ we currenly install the `amqp` PHP extension from a specific git commit. For PHP 8+ we currenly install the `amqp` PHP extension with the `beta` stability.
We should switch to the normal pecl/pickle approach when we have a new release. We should switch to `stable` when it will be available.
### cmark ### cmark

View File

@ -1,4 +1,4 @@
amqp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 amqp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
apcu 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 apcu 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
apcu_bc 7.0 7.1 7.2 7.3 7.4 apcu_bc 7.0 7.1 7.2 7.3 7.4
ast 7.0 7.1 7.2 7.3 7.4 8.0 ast 7.0 7.1 7.2 7.3 7.4 8.0

View File

@ -1546,16 +1546,7 @@ installRemoteModule() {
amqp) amqp)
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -ge 800; then if test $PHP_MAJMIN_VERSION -ge 800; then
if test -z "$installRemoteModule_version"; then installRemoteModule_version=beta
installRemoteModule_version=df1241852b359cf12c346beaa68de202257efdf1
fi
installRemoteModule_src="$(getPackageSource https://codeload.github.com/php-amqp/php-amqp/tar.gz/$installRemoteModule_version)"
cd -- "$installRemoteModule_src"
phpize
./configure
make -j$(getProcessorCount)
make install
installRemoteModule_manuallyInstalled=1
elif test "$DISTRO_VERSION" = debian@8; then elif test "$DISTRO_VERSION" = debian@8; then
# in Debian Jessie we have librammitmq version 0.5.2 # in Debian Jessie we have librammitmq version 0.5.2
installRemoteModule_version=1.9.3 installRemoteModule_version=1.9.3