Skip to content

Commit da5c6fd

Browse files
authored
Merge branch 'main' into fix/php85
2 parents eb4445e + a4b6499 commit da5c6fd

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/SPC/doctor/item/LinuxToolCheckList.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ public function checkCliTools(): ?CheckResult
8282
return CheckResult::ok();
8383
}
8484

85-
#[AsCheckItem('if cmake version >= 3.18', limit_os: 'Linux')]
85+
#[AsCheckItem('if cmake version >= 3.22', limit_os: 'Linux')]
8686
public function checkCMakeVersion(): ?CheckResult
8787
{
8888
$ver = get_cmake_version();
8989
if ($ver === null) {
9090
return CheckResult::fail('Failed to get cmake version');
9191
}
92-
if (version_compare($ver, '3.18.0') < 0) {
92+
if (version_compare($ver, '3.22.0') < 0) {
9393
return CheckResult::fail('cmake version is too low (' . $ver . '), please update it manually!');
9494
}
9595
return CheckResult::ok($ver);

src/SPC/util/executor/UnixCMakeExecutor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ private function makeCmakeToolchainFile(): string
205205
SET(CMAKE_INSTALL_LIBDIR "lib")
206206
207207
set(PKG_CONFIG_EXECUTABLE "{$pkgConfigExecutable}")
208-
list(APPEND PKG_CONFIG_EXECUTABLE "--static")
208+
set(PKG_CONFIG_ARGN "--static" CACHE STRING "Extra arguments for pkg-config" FORCE)
209209
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
210210
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
211211
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

src/globals/test-extensions.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
// test php version (8.1 ~ 8.4 available, multiple for matrix)
1515
$test_php_version = [
16-
// '8.1',
16+
'8.1',
1717
// '8.2',
1818
// '8.3',
1919
// '8.4',
@@ -55,8 +55,8 @@
5555

5656
// If you want to test shared extensions, add them below (comma separated, example `bcmath,openssl`).
5757
$shared_extensions = match (PHP_OS_FAMILY) {
58-
'Linux' => 'mysqli',
59-
'Darwin' => 'zip',
58+
'Linux' => '',
59+
'Darwin' => '',
6060
'Windows' => '',
6161
};
6262

0 commit comments

Comments
 (0)