test gnu (test musl again later, jxl fails with avx shit again)

This commit is contained in:
DubbleClick
2025-07-24 22:52:58 +07:00
parent 155e22a9f9
commit 8c5dc91895
2 changed files with 23 additions and 13 deletions

View File

@@ -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;