We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df0d5fd commit 5370af4Copy full SHA for 5370af4
src/globals/test-extensions.php
@@ -32,18 +32,6 @@
32
// 'windows-latest', // .\bin\spc.ps1
33
];
34
35
-$zig = true;
36
-// temporary!
37
-if ($zig) {
38
- putenv('SPC_LIBC=glibc');
39
- putenv('SPC_LIBC_VERSION=2.28');
40
- putenv('CC=zig-cc');
41
- putenv('CXX=zig-c++');
42
- putenv('AR=ar');
43
- putenv('LD=ld');
44
- exec('ulimit -n 2048');
45
-}
46
-
47
// whether enable thread safe
48
$zts = true;
49
@@ -170,7 +158,7 @@ function quote2(string $param): string
170
158
break;
171
159
case 'ubuntu-24.04':
172
160
case 'ubuntu-24.04-arm':
173
- if (getenv('SPC_LIBC') === 'glibc') {
161
+ if (str_contains((string) getenv('SPC_TARGET'), '-gnu')) {
174
162
$shared_cmd = ' --build-shared=' . quote2($shared_extensions) . ' ';
175
163
}
176
164
0 commit comments