Add support for openswoole (#461)

pull/462/head
Michele Locati 2021-11-05 23:14:23 +01:00 committed by GitHub
parent 4613aa66aa
commit daa351d9fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View File

@ -55,6 +55,7 @@ oci8 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
odbc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 odbc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
opcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 opcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
opencensus 7.0 7.1 7.2 7.3 7.4 8.0 8.1 opencensus 7.0 7.1 7.2 7.3 7.4 8.0 8.1
openswoole 7.2 7.3 7.4 8.0 8.1
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 8.1 pcntl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
pcov 7.0 7.1 7.2 7.3 7.4 8.0 8.1 pcov 7.0 7.1 7.2 7.3 7.4 8.0 8.1

View File

@ -802,6 +802,14 @@ buildRequiredPackageLists() {
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libodbc1" buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libodbc1"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile unixodbc-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile unixodbc-dev"
;; ;;
openswoole@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent postgresql-libs libstdc++ $buildRequiredPackageLists_libssl"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile curl-dev postgresql-dev linux-headers $buildRequiredPackageLists_libssldev"
;;
openswoole@debian)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libcurl3-gnutls libpq5"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $buildRequiredPackageLists_libssldev libcurl4-gnutls-dev libpq-dev"
;;
pdo_dblib@alpine) pdo_dblib@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent freetds" buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent freetds"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile freetds-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile freetds-dev"
@ -2329,6 +2337,26 @@ installRemoteModule() {
installRemoteModule_version=alpha installRemoteModule_version=alpha
fi fi
;; ;;
openswoole)
if php --ri sockets >/dev/null 2>/dev/null; then
installRemoteModule_sockets=yes
else
installRemoteModule_sockets=no
fi
installRemoteModule_openssl=yes
# enable sockets supports?
addConfigureOption enable-sockets $installRemoteModule_sockets
# enable openssl support?
addConfigureOption enable-openssl $installRemoteModule_openssl
# enable http2 support?
addConfigureOption enable-http2 yes
# enable mysqlnd support?
addConfigureOption enable-mysqlnd yes
# enable json support?
addConfigureOption enable-swoole-json yes
# enable curl support?
addConfigureOption enable-swoole-curl yes
;;
parallel) parallel)
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 701; then if test $PHP_MAJMIN_VERSION -le 701; then