mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 16:55:38 +08:00
test gnu (test musl again later, jxl fails with avx shit again)
This commit is contained in:
@@ -158,9 +158,11 @@ if ($shared_extensions) {
|
||||
break;
|
||||
case 'ubuntu-24.04':
|
||||
case 'ubuntu-24.04-arm':
|
||||
putenv('SPC_TARGET=native-native-musl -dynamic');
|
||||
if (getenv('SPC_TARGET') && !str_contains(getenv('SPC_TARGET'), '-musl') || str_contains(getenv('SPC_TARGET'), '-dynamic')) {
|
||||
putenv('SPC_TARGET=native-native-gnu');
|
||||
if (getenv('SPC_TARGET') && !str_contains(getenv('SPC_TARGET'), '-musl')) {
|
||||
exec('sudo apt install musl -y');
|
||||
}
|
||||
if (getenv('SPC_TARGET')) {
|
||||
$shared_cmd = ' --build-shared=' . quote2($shared_extensions) . ' ';
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user