Skip to content

Commit

Permalink
merge code
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Dec 3, 2024
2 parents fc72fa6 + 6c3e482 commit 4c110d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sapi/src/builder/extension/swoole.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
use SwooleCli\Extension;

return function (Preprocessor $p) {

$options = [];
$swoole_tag = 'v5.1.5';
$swoole_tag = 'v5.1.6';
if (BUILD_CUSTOM_PHP_VERSION_ID >= 8040) {
// v5.1.x 不支持 PHP 8.4
// swoole 支持计划 https://wiki.swoole.com/zh-cn/#/version/supported?id=%e6%94%af%e6%8c%81%e8%ae%a1%e5%88%92
Expand All @@ -18,7 +19,6 @@

$url = "https://github.com/swoole/swoole-src/archive/refs/tags/{$swoole_tag}.tar.gz";


if ($p->getBuildType() === 'debug') {
$options[] = ' --enable-debug ';
$options[] = ' --enable-debug-log ';
Expand Down

0 comments on commit 4c110d9

Please sign in to comment.