Skip to content

Commit 26a14bc

Browse files
committed
Disable iouring on glibc build
1 parent cf48d13 commit 26a14bc

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/SPC/builder/extension/swoole.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function getUnixConfigureArg(bool $shared = false): string
5959
$arg .= $this->builder->getLib('brotli') ? (' --enable-brotli --with-brotli-dir=' . BUILD_ROOT_PATH) : '';
6060
$arg .= $this->builder->getLib('nghttp2') ? (' --with-nghttp2-dir=' . BUILD_ROOT_PATH) : '';
6161
$arg .= $this->builder->getLib('zstd') ? ' --enable-zstd' : '';
62-
$arg .= $this->builder->getLib('liburing') ? ' --enable-iouring --enable-uring-socket' : '';
62+
$arg .= $this->builder->getLib('liburing') && getenv('SPC_LIBC') !== 'glibc' ? ' --enable-iouring --enable-uring-socket' : '--disable-iouring';
6363
$arg .= $this->builder->getExt('sockets') ? ' --enable-sockets' : '';
6464

6565
// enable additional features that require the pdo extension, but conflict with pdo_* extensions

src/globals/test-extensions.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
$test_php_version = [
1616
// '8.1',
1717
// '8.2',
18-
// '8.3',
18+
'8.3',
1919
// '8.4',
2020
'8.5',
2121
// 'git',
@@ -26,12 +26,12 @@
2626
'macos-15-intel', // bin/spc for x86_64
2727
'macos-15', // bin/spc for arm64
2828
// 'ubuntu-latest', // bin/spc-alpine-docker for x86_64
29-
// 'ubuntu-22.04', // bin/spc-gnu-docker for x86_64
29+
'ubuntu-22.04', // bin/spc-gnu-docker for x86_64
3030
// 'ubuntu-24.04', // bin/spc for x86_64
31-
// 'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64
31+
'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64
3232
// 'ubuntu-24.04-arm', // bin/spc for arm64
3333
// 'windows-2022', // .\bin\spc.ps1
34-
'windows-2025',
34+
// 'windows-2025',
3535
];
3636

3737
// whether enable thread safe
@@ -43,14 +43,14 @@
4343
$upx = false;
4444

4545
// whether to test frankenphp build, only available for macOS and linux
46-
$frankenphp = true;
46+
$frankenphp = false;
4747

4848
// prefer downloading pre-built packages to speed up the build process
4949
$prefer_pre_built = false;
5050

5151
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
5252
$extensions = match (PHP_OS_FAMILY) {
53-
'Linux', 'Darwin' => 'curl',
53+
'Linux', 'Darwin' => 'curl,swoole',
5454
'Windows' => 'intl',
5555
};
5656

@@ -66,7 +66,7 @@
6666

6767
// If you want to test extra libs for extensions, add them below (comma separated, example `libwebp,libavif`). Unnecessary, when $with_suggested_libs is true.
6868
$with_libs = match (PHP_OS_FAMILY) {
69-
'Linux', 'Darwin' => 'krb5',
69+
'Linux', 'Darwin' => 'krb5,libiouring',
7070
'Windows' => '',
7171
};
7272

0 commit comments

Comments
 (0)